Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nemofish

macrumors regular
Original poster
Mar 11, 2019
142
129
I created a Self-signed root certificate for Adobe Acrobat so I could sign some PDFs.

I think noticed mail.app was trying to certify all my outgoing emails and failing.

I removed this certificate via keychain but it just comes right back and my emails continue to have errors about not being able to verify this message.

How can I stop mail from trying to use it? I don't want to sign my emails.

Screenshot 2022-01-05 at 16.38.27.png
 

bogdanw

macrumors 603
Mar 10, 2009
5,718
2,751
Certificates can be removed from Terminal with:
sudo security delete-certificate -c 'Certificate Name'
Self-signed certificates might be added to two different keychains (system & login), so you need to run the command twice.
Be careful with writing the exact name, to avoid deleting other certificates by mistake.
 

DeltaMac

macrumors G5
Jul 30, 2003
13,485
4,413
Delaware
Are you saying that the actual certificate returns, after you have physically deleted the certificate (and you can see that the file is gone by checking in its previous locations), but the actual certificate file returns?
Or, are you saying that you continue to get the same notification about verifying messages, meaning that the Mail app is trying to use a certificate that no longer exists on your Mac?
Check in Mail/Preferences. Maybe this is as simple as removing a rule (that calls for the certificate?)
 

nemofish

macrumors regular
Original poster
Mar 11, 2019
142
129
The actual certificate returns. Even without a restart of mail or my mac mini. It just comes back after 10 mins or so.

I have deleted from terminal and several times through keychain.
 

bogdanw

macrumors 603
Mar 10, 2009
5,718
2,751
That’s strange because adding/removing certificates should require entering your password. How din you create it and add it in the first place?
 

nemofish

macrumors regular
Original poster
Mar 11, 2019
142
129
It was created inside Adobe Acrobat when I needed to sign a PDF digitally.

It then added itself to mail.app, I seem to recall Mail.app asking if it should use this certificate and I stupidly said "OK" without realising what it meant.

To be honest I am not bothered about the certificate as such as I will likely use again for PDF signing, but the mail warning is what I would really like to remove.
 

nemofish

macrumors regular
Original poster
Mar 11, 2019
142
129
Thank you but the certificates don't appear in Acrobat since I removed them the first time. Even though they appear in keychain and mail...

I am due to upgrade to macOS Monterey this weekend, so hopefully that will help.

I may even clean install.
 

cmbarrett

macrumors newbie
Oct 17, 2022
1
0
Thank you but the certificates don't appear in Acrobat since I removed them the first time. Even though they appear in keychain and mail...

I am due to upgrade to macOS Monterey this weekend, so hopefully that will help.

I may even clean install.
Nemofish - did you ever get a resolution to this? I have the same issue on one of our work computers and the certificate just keeps being added back in. I have deleted the cert from Adobe, reinstalled Adobe, run all system updates, constantly deleted from keychain, and still the problem persists.
 

sparkhill

macrumors regular
Oct 27, 2010
219
125
Old thread, but I encountered this issue and could not find a solution. After trying several things, I think I solved it by un-clicking the option to digitally sign email (screenshot below). It makes sense that this was probably accidentally clicked at some point. With digital signing unchecked, you do not need to delete the certificate.
 

Attachments

  • Cert.png
    Cert.png
    115 KB · Views: 116
  • Like
Reactions: cuka

Nev Hoffman

macrumors newbie
Jan 19, 2024
1
0
I think you solved it sparkhill - thank you! I was able to unlock/unembed the signature just by clicking on the blue checkmark. See screen shots - the one on the left is what I unchecked and it finally removed the encrypted signature certificate:
Screen Shot 2024-01-19 at 7.40.21 AM.png Screen Shot 2024-01-19 at 7.40.28 AM.png
 

cuka

macrumors newbie
Apr 9, 2024
1
0
Thank you @sparkhill!! When I was signing a PDF recently, I must have created a self-signed certificate that was then automatically picked up by Apple Mail. It was not signed by a third party, so started causing email sending issues. (But it was sufficient to sign a pdf.)
 

sparkhill

macrumors regular
Oct 27, 2010
219
125
Thank you @sparkhill!! When I was signing a PDF recently, I must have created a self-signed certificate that was then automatically picked up by Apple Mail. It was not signed by a third party, so started causing email sending issues. (But it was sufficient to sign a pdf.)
I am glad you got it sorted out!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.