Skip to main content

    How to Set Up S/MIME in Apple Mail (macOS and iPhone)

    macOS imports the .p12 into Keychain Access; iPhone installs the same file as a configuration profile. The exact steps, settings paths and gotchas.

    MS
    My-SSL Team
    ·
    13 min read
    ·
    Published August 13, 2026
    ·
    Last updated August 13, 2026

    The short answer

    Apple Mail handles S/MIME on both platforms with no add-on, but macOS and iOS install the certificate in completely different ways. On a Mac you import the PKCS#12 file into Keychain Access, where it lands in the login keychain under My Certificates, and Mail uses it after a restart. On iPhone and iPad the same .p12 installs as a configuration profile — tap the file, approve it in Settings, enter your device passcode and then the certificate password — after which the Sign and Encrypt by Default switches appear under that account's Advanced settings. As of August 2026, one caveat is worth knowing before you start: the tap-the-sender step that installs a correspondent's certificate is widely reported not to work on iPhones running iOS 26, which blocks encryption until you route around it.

    One S/MIME certificate file installed two different ways: imported into Keychain Access on macOS, installed as a configuration profile on iPhone and iPadA single source box at the top holds one PKCS#12 file, a .p12 or .pfx, with its password. Two branches lead from it. The macOS branch has three steps: double-click the file so Keychain Access opens, enter the certificate password so the identity lands in the login keychain, then confirm it under My Certificates and reopen Mail. The iPhone and iPad branch also has three steps: tap the file in Mail or Files so iOS offers a downloaded profile, then, highlighted in gold as the point where the two paths diverge, approve the profile in Settings, which requires the device passcode, and finally enter the certificate password and confirm the result under Settings, General, VPN and Device Management. A closing band notes that the certificate and the file are identical on both platforms and only the delivery differs.One file. Two completely different installers.WHAT YOUR CA SENDS YOUone .p12 / .pfx + its passwordmacOS — Keychain AccessiPhone / iPad — a configuration profileSTEP 1 — OPENDouble-click the .p12 fileKeychain Access opens on its ownSTEP 2 — UNLOCKEnter the certificate passwordIt lands in the login keychainSTEP 3 — VERIFYFind it under My CertificatesQuit and reopen Mail to pick it upSTEP 1 — OPENTap the .p12 in Mail or FilesiOS answers with Profile DownloadedSTEP 2 — THIS IS WHERE THEY DIVERGESettings → Profile Downloaded → InstallA device passcode is requiredSTEP 3 — VERIFYEnter the certificate passwordSettings → General → VPN & Device MgmtSame certificate, same file, same password — a Mac and an iPhone simply take delivery of it differently.
    Guides written for one platform read as if they cover both, which is why so many people get a Mac working in five minutes and then spend an hour on the phone. The phone was never doing the same thing.

    Most guides on this subject cover one device and imply the other works the same way. It does not, and that mismatch is where the afternoon goes. What follows is the Mac path, the iPhone path, and then the part neither Apple nor any certificate authority explains well: why a correctly installed certificate still refuses to encrypt anything.

    Why macOS and iPhone need different steps

    Because the two operating systems store private keys through different front doors. macOS gives you Keychain Access, a normal application that imports a PKCS#12 file directly. iOS has no equivalent app, so anything carrying a private key arrives as a configuration profile — the same mechanism used for VPN settings and device management — which you review and approve in Settings rather than import.

    Nothing about the certificate changes between them. It is one file, one password, one identity, and it can sit on a Mac, an iPhone, an iPad and a Windows machine at the same time without anything special being done to it. Only the installer differs, and only the iOS side asks for a device passcode, because iOS will not take a private key onto a device that has no passcode set. If you are still deciding which certificate to put on them, the guide to email certificates and their four validation types explains what each one names and checks.

    One practical consequence: keep the original file. People install a certificate on their Mac, delete the download, then buy a second one months later for the phone. That is unnecessary — and if the file really is gone, Keychain Access can export a fresh PKCS#12 from the identity already installed.

    What you need before you start

    Three things: a PKCS#12 file with a .p12 or .pfx extension, the password protecting it, and an email account in Mail whose address matches the address on the certificate exactly. A .cer or .pem file is not enough — those carry a public certificate with no private key, so they can verify a signature but never create one. On iPhone you also need a device passcode already set.

    The address match is the requirement that costs money when it is wrong. S/MIME binds a certificate to a specific mailbox address, and Mail will not offer to sign from an account whose address the certificate does not cover. An alias, a plus-address, or the company domain when the certificate names a personal one all fail the same way, and none of them can be corrected after issuance.

    If you have not ordered yet, order for the address you actually send from. S/MIME certificates from My-SSL are issued by Certum, a publicly trusted certificate authority, and arrive as password-protected PKCS#12 files — the format both the Keychain Access import and the iOS profile installer expect, with no conversion step in between.

    Installing the certificate on macOS

    Double-click the .p12 file. Keychain Access opens and asks for the password that protects it, and once you enter that the identity is stored in your login keychain. Confirm it arrived by opening Keychain Access, selecting the login keychain and the My Certificates category — the entry should expand to show a certificate and its private key paired together. Then quit Mail and reopen it.

    That last step is worth doing rather than skipping. Mail reads the keychain when it starts, so a running Mail can sit there with the certificate installed and no sign of it in the compose window, which reads exactly like a failed installation. Quitting properly — not just closing the window — and reopening resolves it.

    A pair without the private key means the import took only the public half, and signing will never work from it. That usually means the file was a .cer or .pem after all, or that the PKCS#12 was exported somewhere without its key. Either way the fix is a new file from whoever issued the certificate, not more configuration.

    Where the private key actually lives

    In the login keychain, unlocked by your account password and nothing else. It is not synced to other Macs, and iCloud Keychain does not carry S/MIME identities between devices, so a second Mac needs the same import performed again. Treat the .p12 as the portable copy and the keychain entry as one installation of it.

    Installing the certificate on iPhone and iPad

    Get the .p12 onto the device — mail it to yourself, drop it in Files, or AirDrop it from the Mac — then tap it. iOS responds that a profile was downloaded rather than opening anything. Go to Settings, tap the downloaded profile, tap Install, enter your device passcode, tap Install again past the unsigned-profile warning, then enter the certificate password and tap Done.

    Two passwords in a row trips people up. The first prompt wants the passcode that unlocks the phone; the second wants the password that protects the .p12. They are unrelated, and entering the phone passcode at the second prompt produces a failure that reads like a corrupt file. Installed profiles are listed under Settings, General, VPN & Device Management, which is the place to check if you are not sure the installation took.

    The settings path to the S/MIME signing and encryption switches on current iOS, and what each switch doesA two-row tap path for iOS 18 and later: Settings, then Apps, then Mail, then Mail Accounts on the first row, continuing on the second row with your account, then Account, then Advanced, then the S/MIME section highlighted in gold. A note records that on iOS 17 and earlier the same screens sit at Settings, Mail, Accounts instead. Below, the two switches are described: Sign, which signs every message you send and is safe to leave on, and Encrypt by Default, highlighted in gold, which only takes effect for recipients whose certificate the device already holds. A closing band explains that either switch can be overridden for a single message from the compose header.Where the switches live on a current iPhoneiOS 18 AND LATERSettingsAppsMailMail Accountsyour accountAccountAdvancedS/MIMEOn iOS 17 and earlier the same screens sit at Settings → Mail → Accounts, which is what most older guides describe.SIGNSigns everything you send from this account.Needs only your own certificate — safe to leave on.ENCRYPT BY DEFAULTApplies only to recipients whose certificatethe device already holds. Everyone else: plain.Both are defaults, not rules — tap the recipients in the compose header to change either one for a single message.
    The switches are per account, not per device. An iPhone with a work address and a personal one has two separate S/MIME sections, and turning one on does nothing for the other.

    With the certificate installed, turn signing on for the account: Settings, Apps, Mail, Mail Accounts, your account, Account, Advanced, and the S/MIME section. On iOS 17 and earlier the same screens live at Settings, Mail, Accounts, which is what older guides describe — iOS 18 moved per-app settings under an Apps section, and that single change accounts for a good share of the “the setting isn't there” reports.

    If the S/MIME section is missing entirely, the device holds no identity matching that account's address. Check the profile installed, then check the address on the certificate against the address on the account. Those two checks account for nearly every case.

    Deploying to a fleet rather than a phone

    The manual route does not scale, and it is not meant to. Apple documents a certificate payload for mobile device management, so an MDM can push each person's PKCS#12 to their device along with the mail account settings. If you are rolling S/MIME out to a team, that is the path — the tap-through above is for individuals and pilots.

    Signing and encrypting a message

    On macOS, a signing control appears beside the subject line in the compose window once a matching identity is installed, and it is on by default. An encryption control appears next to it, but only becomes available when Mail already holds a certificate for every recipient. On iOS the equivalent behaviour is governed by the Sign and Encrypt by Default switches, with per-message overrides from the compose header.

    ActionWhose key it usesAvailable whenFails how
    SigningYour private keyImmediately, once your certificate is installedControl missing — no matching identity for the account
    EncryptingThe recipient's public certificateOnly for recipients whose certificate you already holdControl greyed out for that recipient
    Reading encrypted mailYour private key, including expired onesAs long as the key that decrypts it is still installedPermanently unreadable if that key was deleted

    The third row is the one that bites years later. Renewal issues a new certificate and a new key pair, and mail encrypted to the old key can only ever be opened with the old key. When you renew, add the new identity and leave the old one installed. Deleting an expired certificate to tidy up is a decision you cannot walk back.

    Why you can sign but not encrypt yet

    Because encryption needs the other person's certificate and you do not have it. Signing is one-sided: your own key is enough. Encrypting is not, and there is no directory Mail can look someone up in. Their certificate arrives when they send you a signed message — after that, Mail can encrypt to them, and not a moment before.

    How a correspondent's encryption certificate reaches your Mac automatically but has to be installed by hand on an iPhoneA single starting condition: the other person sends you one signed message. From it, two outcomes. On macOS, Mail stores the sender's certificate in your keychain without being asked, and the lock control becomes available for that recipient. On iPhone, highlighted in gold, the step is manual: open the signed message, tap the sender's address, tap again once the check mark turns blue, then choose to view the encryption certificate and install it. A warning band records that this manual tap is widely reported not to work on iPhones running iOS 26, while iPadOS 26 is unaffected, with reports running from September 2025 through April 2026 and no fix announced as of August 2026. A final band lists the two circulating workarounds: editing the sender's contact card, or installing the certificate through Outlook for iOS.Their certificate arrives one way: they sign one message firstThe other person sends you a single signed messageON macOS — NOTHING TO DOMail files the certificate into yourkeychain without asking.The lock control appears by itself.ON iPHONE — A MANUAL TAPOpen it, tap the sender's address,tap again when the check mark turns blue,then view the encryption certificateand install it.REPORTED NOT TO WORK ON iPHONE SINCE iOS 26That tap no longer offers the certificate on iPhone, so encryption stalls there. iPadOS 26 is unaffected.Reports run from September 2025 to April 2026, with no fix announced as of August 2026.WORKAROUNDS PEOPLE REPORT — NEITHER IS DOCUMENTED BY APPLEEdit the sender's contact card, or install their certificate through Outlook for iOS instead.
    Worth knowing before you blame your own setup: on a Mac this happens invisibly, so an iPhone that cannot encrypt to the same person looks like a certificate problem when it is a Mail problem.

    On a Mac this is invisible. Mail stores a sender's certificate on its own when a signed message arrives, and the encryption control simply starts working for that person. On iPhone it is a deliberate act: open the signed message, tap the sender's address, tap again once the check mark turns blue, and choose to view and install their encryption certificate.

    Which brings up the caveat. Since iOS 26, a steady stream of reports on Apple's developer forums and support communities says that tap no longer offers the certificate on iPhone, while the same steps still work on iPadOS 26. The thread runs from September 2025 into April 2026 with no fix announced, and as of August 2026 we have found no Apple release note addressing it. Two workarounds circulate: editing the sender's contact card, which several people report makes the certificate register, and using Outlook for iOS to hold certificates instead. Both are user reports rather than documented behaviour — test on your own device before promising anyone encrypted mail from an iPhone.

    None of this affects signing, which is the majority of what S/MIME is used for day to day, and none of it affects encryption on a Mac. It is worth planning around rather than discovering mid-rollout: if encrypted replies from phones are a requirement, verify that one flow on a real device before the certificates are ordered.

    What to check when it doesn't work

    Start with the address on the certificate, then the installation, then the recipient — in that order. Most reports resolve at the first or second check, and almost none are a fault in the certificate itself. The four cases below cover nearly everything that reaches a support queue about Apple Mail and S/MIME.

    Four common Apple Mail S/MIME symptoms mapped to their usual cause and the fix for eachA three-column table of symptoms, causes and fixes. First, no S/MIME section appears in the account's Advanced settings, usually because no installed identity matches that account's address; the fix is to confirm the profile installed and that the addresses match. Second, signing works but encryption does not, because you do not hold the recipient's certificate yet; the fix is to ask them for one signed message. Third, highlighted in gold, Mail refuses to sign at all, usually because the address on the certificate is not the address the account sends from; the fix is to use a certificate issued for the exact sending address. Fourth, the import itself fails, because the file is a .cer or .pem containing only a public key; the fix is to obtain the PKCS#12 bundle and its password.Four symptoms that cover almost every reportSYMPTOMUSUAL CAUSEFIXNo S/MIME section inAdvancedNo installed identity matchesthat account's addressCheck the profile installed,then compare addressesSigns fine, will notencryptYou do not hold therecipient's certificate yetAsk them to send onesigned messageMail will not signat allThe certificate address is notthe address you send fromUse a certificate for theexact sending addressThe import itselffails.cer / .pem — public key only,no private key insideGet the PKCS#12 bundleand its password
    Only the gold row costs money to fix. The other three are configuration, and none of them mean the certificate is faulty.
    • Nothing appears in Mail after importing on macOS. Quit Mail completely and reopen it. Mail reads the keychain at launch, so a running instance will not notice a new identity.
    • The iPhone profile installs, but no S/MIME section appears. The address on the certificate does not match the address on the account. Compare them character for character, including the domain.
    • The certificate password is rejected. Check which prompt you are answering. iOS asks for the device passcode first and the file password second.
    • Signed messages show a warning on the recipient's side. Usually a missing intermediate certificate or a client that does not trust the issuing CA. A certificate from a publicly trusted CA verifies without extra work in Apple Mail, Outlook and Thunderbird alike. The exception is Outlook on the web in Microsoft 365, which checks signatures against a virtual certificate collection an Exchange Online admin has to populate; our guide to why Outlook says an S/MIME certificate isn't trusted covers that fix.

    If the same certificate also has to work on a Windows desktop, the Outlook installation guide covers the equivalent steps there, and the identical PKCS#12 file serves both without conversion. If the desktop in question runs Thunderbird, note that it ignores the operating system store entirely and needs the file imported into its own profile — setting up S/MIME in Thunderbird walks through that path.

    Frequently Asked Questions

    Answers to common questions about certificates and our services.

    Does Apple Mail support S/MIME without a plug-in?

    Yes, on both macOS and iOS. Mail has handled S/MIME natively for years, and there is no add-on to buy or install. What Mail does not do is obtain a certificate for you — you buy that from a certificate authority, and Mail reads it once the operating system holds it. That is the split worth keeping in mind while troubleshooting: problems are almost always in how the certificate was installed, not in Mail itself.

    Can I use the same certificate on my Mac and my iPhone?

    Yes, and you should. An S/MIME certificate is issued to an email address rather than to a device, so the same PKCS#12 file installs on as many machines as you like. Keep the original .p12 or .pfx file and its password somewhere you can reach later — a password manager is the sensible place. If you lose the file after installing it on a Mac, you can export a replacement from Keychain Access rather than reordering.

    Why is there no S/MIME section in my iPhone's Advanced settings?

    Almost always because iOS holds no certificate matching that account's address. The S/MIME controls appear per account, and iOS only offers them once an installed identity matches the address the account sends from. Check Settings, General, VPN & Device Management to confirm the profile actually installed, then check that the address on the certificate is character-for-character the address on the account. An alias will not do.

    Do I need a passcode on my iPhone to install the certificate?

    Yes. iOS stores the private key in the keychain, and it will not install a profile carrying one on a device with no passcode set. You are asked for the device passcode during installation, and then separately for the password that protects the .p12 file. Those are two different secrets, and confusing them is the most common reason an installation appears to fail at the last step.

    Why can I sign messages but not encrypt them?

    Signing uses your own private key, so it works the moment your certificate is installed. Encrypting uses the recipient's public certificate, so Mail cannot encrypt to anyone whose certificate it does not already hold. The certificate normally arrives when that person sends you a signed message. Until that exchange happens there is nothing to encrypt with, and the lock control stays unavailable for that recipient.

    Is installing a sender's certificate on iPhone broken in iOS 26?

    It is widely reported to be. On iOS 26, tapping a sender's address in a signed message no longer offers the option to view and install their encryption certificate, which blocks encrypting replies to that person. The same flow works on iPadOS 26. Reports on Apple's developer forums run from September 2025 through April 2026 with no fix announced. Two workarounds circulate: editing the sender's contact card, which some users find makes the certificate register, or installing certificates through Outlook for iOS instead. Both are user reports rather than documented behaviour, so verify on your own device before relying on either.

    What happens to old encrypted mail when my certificate expires?

    It stays readable only while you still hold the private key that decrypted it. Renewing gives you a new certificate and a new key pair; it does not retroactively re-encrypt anything. So when you renew, install the new certificate but leave the old one in place rather than deleting it. On macOS both sit in the login keychain quite happily, and on iOS both profiles can remain installed. Delete an expired identity and the messages encrypted to it become unreadable permanently.

    Still Have Questions?

    Contact our support team with questions about certificates, installation, or technical issues.

    Getting the certificate itself

    Everything above starts with a PKCS#12 file issued to the address you send from. S/MIME email certificates from My-SSL come from Certum, a publicly trusted certificate authority, so signatures verify in Apple Mail without anyone installing a root first — and one certificate covers your Mac, your iPhone and any other client using that address.

    Related reading