Installing Certificates on iOS Physical Devices
Apple iOS supports DER or Base64-encoded X.509 certificates saved in files with a .crt, .cer, .der or .pem file extension.
Note: | If you do not have a valid certificate installed, you might see an error on the console MD: ERROR: Can't reach url "…" and a java.io.IOException. |
Important: | You can only use the following procedure to install custom certificates on a physical iOS device. The procedure will not work to install certificates to the keychain that the iOS simulator uses. |
To install custom SSL certificates on iOS physical devices
1. Send the certificate to your device by doing one of the following:
Send an email message with the certificate as an attachment. On the device, open the email attachment.
Put the certificate on an accessible server. On the device, download the certificate from Safari.
When the device receives the certificate, it opens an Install Profile dialog.
2. In the Install Profile dialog, click Install.
3. Double-check the root certificate to ensure it is the one you want to install.
4. Click Install in the warning dialog.
5. Enter your passcode if you have one set up on your device.
On an iOS device, you can view and remove installed certificates selecting Settings > General > Profiles.