NextCloud app for iOS 11 - NextCloud + Apache + corporate X.509 certificate

Hi,

have someone successfully imported a corporate root certificate on an iOS11 device, in order to make the NextCloud iOS app sync with a NextCloud server running a SSL certificate signed by that root corporate certificate ?

If yes, we would be glad to receive guidance from you. We failed to make it work as expected on our side (NextCloud app just complains about time out when trying to log in; maybe an untrusted SSL certificate issue ?).

Concerned that the issue may have something to do with the date.timezone parameter too, which was talked about on that topic (see : SSL connection error with iOs11), I added :

# Defines the default timezone used by the date functions
# http://php.net/date.timezone
date.timezone = Europe/Paris

in

/etc/php/7.0/apache2/conf.d/30-nextcloud.ini

It made no difference.

Thanks for any help, may you do so.

Environment :
NextCloud 14.0.1.1
PHP 7.0.32
MySQL 5.7.23

Well,

Importing a corporate certificate with iOS worked that way :

  • Downloading the certificate from the web: iOS intercepts the certificate and is going to store it as a “profile”, not as a regular file;

  • reply “install” “confirm” or “done” each time iOS asks for confirming the validity of the certificate, until the certificate actually gets installed;

  • check that the certificate shows up as “Verified”, under Settings -> General -> Profiles;

  • enable “full trust for root certificates” under Settings -> General -> About -> Certificate Trust Settings.

However,

The NextCloud app for iOS cannot better connect to our NextCloud server. Attempts always end up with a timeout error. Of course URL, login and key being more than double checked.

Any help would be appreciated.

Thank you.