Question 1: In the beginning, I installed Alfresco community 5.1 on CentOS 7, non-SSL. Tested Mobile(IOS) Apps connect to Server was fine. Mobile version is 2.3.
Then, I builded up Alfresco + Apache, configured SSL with the StartSSL certificate(free mode,1 year), and tested login on browser just fine. But when I tried to use Mobile App, it can not save account.
I have followed this page http://docs.alfresco.com/community/tasks/configure-ssl-prod.html much more to configure SSL. mobile configuration(ios 9,iphone 6s plus): User name: Myname Password: Mypassword Hostname:file.g****.com.my Description: Alfresco Server HTTPS: On Port: 443 Service Document: /alfresco Client Certificate: none
Connection Diagnostic: Checking network connection: OK Checking server connection: Not OK
Is it a problem as I use StartSSL certificate? Is it belong a self-signed certificate?
Question 2: With this doubt, I tried to use HTTP 8080 on mobile again, because it still works on browser. But it also can not save account this time.
mobile configuration(this setting was OK before SSL configuration): User name: Myname Password: Mypassword Hostname:172.**.**.***(Server intranet IP) Description: Alfresco Server HTTPS: Off Port: 8080 Service Document: /alfresco Client Certificate: none
Connection Diagnostic: Checking network connection: OK Checking server connection: OK Authenticating with Alfresco: OK Connecting to Alfresco: OK Checking repository connection: Not OK
I found some errors in the ssl_error_log of apache. Like this: "File does not exist: /usr/local/apache2/htdocs/alfresco/service/api/server" Look like something is wrong in "httpd.conf" I followed "http://docs.alfresco.com/community/tasks/configure-ssl-prod.html" to configure httpd.conf, and it un-comment these lines for public API access " # JkMount /alfresco/api/*/public/cmis/versions/* alfresco-worker # JkMount /alfresco/api/*/public/alfresco/versions/* alfresco-worker # JkMount /alfresco/service/api/server alfresco-worker # JkMount /alfresco/cmisatom/* alfresco-worker # JkMount /alfresco/service/cmis/* alfresco-worker # JkMount /alfresco/api/cmis/versions/* alfresco-worker "
I didn't noticed it before. So I chage all "JkMount"s to "JkMount /* alfresco-worker". Now, below are my "httpd.conf" configuration: <javascript> ServerName external.proxy.host.name PidFile /usr/local/apache2/logs/httpd.pid ErrorLog /usr/local/apache2/logs/error_log LogLevel info
Try again in mobile.Checking everything OK but "checking repository connection" fail. The last remaining error showed in the "ssl_error_log" is not resolved: "(70014)End of file found: [client my.phone.ip:11861] AH01991: SSL input filter read failed."