cancel
Showing results for 
Search instead for 
Did you mean: 

https access with Android mobile app

angelus1969
Champ on-the-rise
Champ on-the-rise
Hello,

I just installed the Community edition without problems and it's working fine. But from my Android I can't setup a secure connection since the certificate is selfsigned. I can however import the needed certificate into the Android, but I can't seem to find out where the neccesary certificate file is located on the Alfresco server…..

Any help/pointers/hints would be appreciated.

Angelo

update: I got a bit further. With the help of gnutls I managed to get the certificates and install them on my Android. The Android app stopped complaining about the certificate, but now states that 'your server couldn't be reached.'. I select 'https' and enter port 8443 in the app. These settings work when I use a 'normal' browser on my system. No https and port 8080 still work on the Android.
4 REPLIES 4

jm_pascal
Star Contributor
Star Contributor
Hello,

Have you tried to look at https://wiki.alfresco.com/wiki/Alfresco_Mobile_for_Android_:_Advanced_Setup_Guide ?

It might helps you.

Regards,

angelus1969
Champ on-the-rise
Champ on-the-rise
Hello,

Thank you for your reply. Yes, I did a proper search before posting here and I have found and read that website you mention. Like I wrote in the edited post, I did manage to get the certificate out of alfresco and into my phone. This seems to work, because now the error about the certificate is no longer appearing. But now I get the error that the server is 'not reachable', which doesn't make sense because the mobile app can connect with the same servername and credentials if I don't choose https and the port is set to 8080. From a webbrowser (on the same phone) I _can_ access my alfresco server with https and port 8443………

angelus1969
Champ on-the-rise
Champ on-the-rise
Further testing:

* I tried "Force URL binding", so setting /alfresco/service/cmis instead of just /alfresco. Set https active with port 8443. Result: Server could not be reached.
* I tried "Disable SSL certificate validation". I created an empty file in the said folder. Doesn't make any difference.

Reverse proxy? I'm willing to try, but can't find a definitive how-to to go about this. One says using Apache, another says Ngynx, but I'm running Tomcat as far as I can see…… Help anyone?

angelus1969
Champ on-the-rise
Champ on-the-rise
BTW, Android apps like 'Freshdocs' _does_ work while using HTTPS/SSL (port 8443 in my case)…. The same goes for 'Business ECM Lite'….. So it looks like the problem lies with the mobile app…..