iOS 10 and self signed certificates

With the release of iOS 10, Apple have changed the way self-signed certificates works and since self-signed certificates are a vital part of the Microsoft Dynamics NAV Demo Environment setup, I thought I would describe how to connect to a Demo Environment, signed by a self-signed certificate from an iPad or an iPhone.

It is no longer sufficient to install the profile (self-signed certificate), you also have to trust the certificate…

Install the Self-Signed Certificate from the Landing page

After deploying a Demo Environment using http://aka.ms/navdemodeploy, you open the landing page of you Demo Environment and install the Certificate by clicking the Download Certificate link in the top right corner.

img_0456

Now follow the installation process and note especially the warning when installing the certificate.

warning

It actually tells us, that the certificate will not work for trusted websites unless we enable it in Certificate Trust Settings.

But nobody reads these things, right?

You just click install and expect everything to work – but it doesn’t.

And where is this Certificate Trust Settings???

Setting->General->About->Certificate Trust Settings

Hidden under the About menu in the General section of the Settings app – you will find the Certificate Trust Settings and there you will have to enable your self-signed certificate

img_0462

Move the slider over and say continue to the question on whether you want to enable this root certificate,

Now you should be able to click the Configure App link on the landing page and connect your iPad App to your Demo Environment again:

configure

Enjoy

Freddy Kristiansen
Technical Evangelist

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s