cancel
Showing results for 
Search instead for 
Did you mean: 

Mobile not allowing self-signed SSL Certs

msaffer
Champ on-the-rise
Champ on-the-rise
I am attempting to use an intranet web application within the Alfresco Mobile application on the iPad. The way I am currently going about this is to have a Microsoft Word document with a link to the web application stored in each site.

This works fine if I try to initiate a connection with a fully-signed HTTPS/SSL connection that is authorized via one of the iPad built-in Certificate Authorities.

However if I manually add the certificates for the intranet application to the iPad and attempt to access the application, no navigation takes place.

Is there any guidance around performing this type of integration with Alfresco Mobile, or any guidance around allowing navigation to a self-signed SSL-enabled intranet url?
10 REPLIES 10

mikeh
Star Contributor
Star Contributor

pkrauer
Champ in-the-making
Champ in-the-making
Hi Mike,
the same issue appears on Android.
Is it planned to be fixed there as well?

Cheers,
Päng

msaffer
Champ on-the-rise
Champ on-the-rise
Apologies for not finding this while searching the site. Thanks for the quick response!

gavinc
Champ in-the-making
Champ in-the-making
Hi Päng,

Yes, the 1.1 version of Android coming soon will address the self-signed certificate issue.

However, it will be done slightly differently than the iOS app i.e. not an in-app setting.

You will need to place a specific file with a specific name in a specific location on your device to enable the feature, this will be documented on the wiki when we release.

Regards,

pkrauer
Champ in-the-making
Champ in-the-making
Hi Gavin,
many thanks! I'm looking forward to get this new version!

Best regards,
Päng

pkrauer
Champ in-the-making
Champ in-the-making
Hi Gavin,
I just installed the new Version 1.1.0.114 this morning.

Where do I need to install the self-signed certificate to? Is there a documentation somewhere?

Best regards,
Patrick

mikeh
Star Contributor
Star Contributor
Hi Patrick

Apologies, we haven't published the wiki article yet. However, please find the instructions below:

<strong>Requirements:</strong>
You need a file explorer/manager installed in your device. You can find one in Google play Store with keywords like file explorer / file manager

<strong>Procedure:</strong>
<ul>
<li>With your file explorer : Go to the root folder of your sdcard. Generally the path looks like /sdcard or /mmt/sdcard . In recent version of Android it can also be : /storage/emulated/….

<li>Go to the following folder (or create this hierarchy if necessary): <strong>Android/data/org.alfresco.mobile.android.application/files</strong>

<li>Inside this folder create an empty file with a name like <strong>&lt;hostname&gt;.properties</strong>. For example if your server hostname is
<p>192.168.1.1, the filename is 192.168.1.1.properties</p>
<p>example.alfresco.com, the filename is example.alfresco.com.properties</p>
<li>When created, you can follow the default procedure to connect to your Alfresco server. <em>NB : for security reason every first time a user try to connect to the server a notification is displayed. It alerts the SSL certificate validation is disabled.</em>
</ul>

<strong>IMPORTANT:  We highly recommend to use this solution only for testing/development purpose.</strong>

dynabix
Champ in-the-making
Champ in-the-making
In the new app for IOS setting the option to allow self-signed certificates seems to be gone again. Can it be re-added?

Greetz,
David