How to install a self-signed certificate in iOS 10

Apple seems to have removed the ability to trust SSL certificates that are self-signed in iOS 10.

I created my own self-signed certificate and have a local web server that signed my certificate. I have to install my certificate in iOS for testing locally since I developed an iOS application that needs to be trusted with my certificate.

How can I install my self-signed certificate?

+4
source share
1 answer

The good news is they didn’t. If you just need this for development purposes, which sounds like you (and you shouldn't use self-signed certificates in production anyway), you can manually install a self-signed certificate on iOS devices. Following the equivalent FAQ for my iOS browser for the Bluetooth web browser:

  • Create your self-signed certificate and key files using openssl or nonetheless. Make sure it has the correct one /CN "Common Name"for your local server, for example. mycomputer.local.
  • Configure your web server to use it (obviously) and make sure it works with another client, such as a Mac browser.
  • Send your certificate to an email address that you can get on your iOS device.
  • Mail iOS, . .
  • , , , General -> Profile -> <Common Name>. "", , , . Verified ( ).
  • , , , . . , , → → . .
+6

Source: https://habr.com/ru/post/1670819/


All Articles