Outlook Mobile Self-Signed SSL: Setup Guide
In this article
Outlook for iOS and Android will not accept a self-signed certificate out of the box, so you cannot simply point it at a server with a self-signed cert and expect mail to sync. The practical way to achieve this is to install your server's root certificate on the phone as a trusted profile (iOS) or user credential (Android), then add the account in Outlook. This guide walks through that process, the prerequisites, and the fixes when Outlook still refuses to connect.
What You'll Need
- The self-signed certificate file (usually
.cer,.crt, or.pem) exported from your mail server, plus its private key kept on the server only. - Access to the phone's settings to install a certificate profile or credential.
- The mail server hostname, port, and whether it uses IMAP/SMTP or Exchange ActiveSync.
- Outlook for iOS or Android installed from the official App Store or Google Play.
- A device passcode or screen lock, which both iOS and Android require before they will install a certificate.
Step-by-Step
- Export the certificate correctly. On the mail server, export the public certificate (not the private key) in DER or PEM format. If your server uses a self-signed cert, this file is the root your phone must trust. Give it a clear name like
mailserver.crt. - Get the file onto the phone. Email it to yourself as an attachment, put it on a cloud drive you can open on the phone, or host it on an internal web page. Do not rename the extension to something the phone will not recognize.
- Install the certificate on iOS. Open the file from Mail or Files. iOS shows a profile preview; tap Install, enter your passcode, and confirm. Then go to Settings > General > About > Certificate Trust Settings and enable full trust for the root certificate. Without this second step the certificate is installed but not trusted, and Outlook will still fail.
- Install the certificate on Android. Open Settings and search for "certificate" or "credential." The path varies by manufacturer and version; on stock Android it is typically Settings > Security > Encryption & credentials > Install a certificate > CA certificate. Confirm the warning, then pick the file. Android will ask you to name the credential and set a screen lock if one is not already set.
- Verify the certificate matches the server name. The certificate's Common Name or Subject Alternative Name must match the hostname you will type into Outlook exactly. A cert issued for
mail.example.comwill not validate if you connect to192.168.1.10or a different alias. - Add the account in Outlook. Open Outlook, go to Settings > Add Account, and enter your email address. If automatic discovery fails, choose the advanced manual setup option and enter the server hostname, port, and encryption type. Use SSL/TLS on the ports your server actually listens on (commonly 993 for IMAP and 465 or 587 for SMTP).
- Accept the certificate prompt if it appears. On some Android versions Outlook may show a certificate warning during setup. Confirm only if the certificate details match the file you installed. On iOS, a correctly trusted profile usually prevents the prompt entirely.
- Test sending and receiving. Send a message to yourself and check that it arrives. If receiving works but sending fails, the SMTP certificate or port is usually the culprit, not the IMAP side.
Menu labels can differ slightly by Outlook version, iOS/Android version, and device manufacturer, so treat the paths above as the common layout rather than exact wording on every phone.
Common Mistakes
- Installing the certificate but not trusting it on iOS. The Certificate Trust Settings toggle is easy to miss and is the single most common reason Outlook still rejects the connection.
- Using an IP address instead of the hostname. Self-signed certs are validated against the name, so connecting by IP will fail even with the cert installed.
- Exporting the private key by mistake. Only the public certificate belongs on the phone. Never copy a private key to a mobile device.
- Installing the leaf certificate instead of the root. If your server uses an intermediate or a chain, install the root that signs it.
- Forgetting the SMTP side. People often fix IMAP and then wonder why outgoing mail fails; both services need a certificate the phone trusts.
- Using a certificate that has expired. Check the validity dates before you start troubleshooting anything else.
Tips
- Keep a copy of the certificate file somewhere you can reach again; reinstalling after a phone reset is common.
- If you control the server, consider using a proper certificate from a public CA instead. Self-signed certs are fine for testing or internal labs but create ongoing friction on mobile.
- Name the installed credential clearly on Android so you can find and remove it later.
- Document the exact hostname, ports, and encryption types your server uses. Most Outlook setup failures are configuration mismatches, not certificate problems.
- Remove old or expired certificates from the phone's credential store so they do not confuse validation.
Troubleshooting
Work through these in order, simplest first.
- Restart Outlook and the phone. A fresh launch clears many one-off connection states.
- Update Outlook from the official store, and check that the phone OS is current.
- Re-check the certificate trust. On iOS, return to Settings > General > About > Certificate Trust Settings and confirm the toggle is on. On Android, confirm the credential appears under trusted credentials.
- Confirm the hostname. Compare the name in Outlook with the certificate's Subject Alternative Name character for character.
- Test the server from another device. If a desktop mail client also fails with the same cert, the problem is server-side, not the phone.
- Remove and re-add the account in Outlook. This does not delete mail on the server, but it does clear local cached settings for that account on the phone.
- Reinstall the certificate. Delete the old credential and install the current file again, then re-enable trust.
If that did not work: the most reliable fix is to stop using a self-signed certificate. Obtain a certificate from a publicly trusted CA for the mail hostname, install it on the server, and Outlook will connect without any phone-side certificate work. If the server is internal-only and cannot use a public CA, confirm with your IT administrator whether mobile access is supported at all, since some organizations restrict it deliberately.
Frequently Asked Questions
Does Outlook for iOS and Android support self-signed certificates?
Not directly. Outlook relies on the phone's trust store, so the certificate must be installed and trusted at the OS level before Outlook will accept it.
Why does Outlook still show a certificate error after I installed the cert?
Usually because the certificate is installed but not trusted (iOS), or because the hostname in Outlook does not match the certificate's name.
Can I use an IP address with a self-signed certificate?
Only if the certificate explicitly includes that IP address in its Subject Alternative Name. Most self-signed certs are issued for a hostname, so connecting by IP will fail validation.
Is installing a certificate on my phone safe?
Installing a CA certificate means the phone will trust anything signed by that certificate. Only install certificates you or your organization created and control, and remove them when no longer needed.
Do I need to install the certificate for both IMAP and SMTP?
You install one certificate that the phone trusts; both services use it if they present the same certificate. If your server uses different certificates for each service, both must be trusted.
Will removing the certificate break my other accounts?
It only affects connections that rely on that certificate. Other accounts using publicly trusted certificates are unaffected.