Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

S/MIME on iPhone 6s: unable to sign or encrypt

After updating to an iPhone 6s, I am no longer able to use S/MIME with the Mail app (it all still works on my DT machine).


I have removed and reinstalled both Certificates ("Profiles") - both my own and the Issuer; yet when I attempt to craft an email, the phone displays the message:


Unable to Sign or Encrypt


You can't send signed or encrypted

messages because identities for the

address "redacted"

could not be found. Go to the

Advanced settings for this account to

choose signing and encryption

identities.


Under Advanced Settings, S/MIME is enabled; as are both Sign and Encrypt, both of which have my Cert/Profile/Identity check-marked and listed as Trusted.


I've tried deleting and re-adding these a couple of times, to no avail.


Has anyone else experienced this? Have you found a solution?

iPhone 6s, iOS 9.0.2

Posted on Oct 1, 2015 10:56 AM

Reply
13 replies

Oct 2, 2015 4:06 AM in response to dumpsterdave

I have almost the same issue.


Signing a message with S/MIME does work, but encryption does not work.


When when trying to encrypt a message on the iPhone default mail app I get the error message:


Unable to Encrypt

You can't send encrypted messages because an encryption identity for the address t*@g***.*g could not be found. Go to the Advanced settings for this account to choose an encryption identity.


I can set to encrypt by default in Advanced settings, however, the error message still appears and it is not possible to encrypt.


Installing a new certificate did not solve the issue.


The same is the case for Apple Mail on my laptop. You can sign a message with S/MIME, but you can't encrypt.


My certificate is self-signed, created with Key Chain Access.


Best

Thomas


iPhone 6

IOS 9.0.2


MacBook Pro Retina 15 inch Mid 2014

Mail 9.0 (3094)

Key Chain Access 9.0 (55171)

OSX 10.11

Oct 2, 2015 10:08 AM in response to Pirxter

I managed to get it working: here's what I did (which is absurd, but, it worked)

  • Deleted the email account entirely (Exchange)
  • Re-created the email account
  • Re-set-up S/MIME

    N.B., when you're associating Certs etc, you still need to step "back" from those sunscreens until you get to the main account screen and can hit "Done" (this kind of breaks the AAPL paradigm of all-things-saved-at-all-times)


After that, it worked.

Oct 10, 2015 9:17 AM in response to Pirxter

If one creates an email protection certificate using Certificate Assistant (which is accessed from Keychain Access) and takes the default settings, the resulting certificate will sign but not encrypt email. This bug has existed since at least 2008. A work-around is to not use the defaults and check the "key encipherment" capability under key usage extension. It is also good to specify a longer valid period. I use 7300 days.

I have contributed this information to Apple Support Communities several times over the years but it keeps getting deleted. Some people found that checking "key encipherment" was the magic bullet that made things work. For others, it didn't help. Best of luck.

I am experimenting with using XCA rather than Certificate Assistant. I believe both are gui front ends for openssl. I am having good luck with XCA. It seems to be high-quality software.

Oct 10, 2015 8:00 PM in response to Fred Hyden

Interesting, I thought that Apple might be responsive to security bugs. If Apple Support do not attend to things relating to security, then what is there to attend to? Or do Apple try to match the support standards of Microsoft? 😁


Anyway, I have sold all my Apple shares. Apple are clearly slacking, and slacking increases risk of a Black Swan.


Thanks much for the workaround, I will try it. ➕➕➕

Nov 18, 2015 3:45 PM in response to Pirxter

For those of you that are having the issue where email signing works but email encryption fails with the "Unable to Encrypt: You can't send encrypted messages because an encryption identity for the address [Mail] could not be found. Go to the advanced settings for the account to choose an identity."


See my post here:

Re: Can't encrypt email. "Identity could not be found"



"After struggling with this for a while I managed to fix it.


Even though I exported the certificates as a package from my computer including my public cert, intermediate certs, root cert, and private key, and imported that into my phone, the iPhone fails to install the private key.


Here is what I did:

-Export your private key *only*

-Email it to yourself or get it to your iPhone in some way

-Install your private key

-Restart your iPhone / restart your mail application.


I can now sign and encrypt email."

Dec 12, 2015 1:54 AM in response to dumpsterdave

there's a much easier way to do this.


AFTER you install your own .pfx which contains your public and private key (STEP1), send yourself an email NOT encrypted but YES on signed


open the message in mail and

click on the sender (you) where it says From:

click view certificate

click install


you must "re-install" your own public certificate so you can use your own public key to send it to yourself

(you will have to do this to send an encrypted message to anyone else in the future)

before you can decrypt said message with your own private key which is what you installed in the first place


looks like when you install the pfx in the beginning it either ignores your public key, or just doesn't properly associate it with the contact or wherever apple mail wants to pull it from

Mar 4, 2016 9:48 AM in response to DamonF

I figured it out: they are coming back from installed profiles (Settings -> General -> Profile). 2 with my e-mail address were displaying, I could tap to find the expiration date on the issued certificate, and delete the profile with the expired certificate. This left the valid certificate both in Profile, but also back in the mail account's S/MIME settings.


I could have also deleted both profiles and started over from scratch with the re-import of my .p12 certificate.

Oct 29, 2016 7:56 AM in response to dumpsterdave

I have tried this solution in the past. Strangely enough it does work sometimes and sometimes it does not.


Wish Apple would finally solve the underlying problem. Whenever I switch to new iPhone I have to undergo that procedure yielding mixed results. On my Mac it has never been a problem.


No wonder people send their mails unencrypted and unsigned 😟

Oct 30, 2016 2:39 AM in response to Pirxter

You will have to view and then accept the certificate of the respective email address before you can send an encrypted mail.


Tap on the sender --> an info box opens --> tap on "View Certificate" --> accept certificate.


From then on you will be able to send encrypted mails to this specific recipient.

You will also have to do it for your own email address !

S/MIME on iPhone 6s: unable to sign or encrypt

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.