Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to send a mail in Evolution, I get the following error:

Could not create message.

Because "Peer's certificate issuer has been marked as not trusted by the user. (-8172) - Cannot add MS SMIMEEncKeyPrefs attribute", you may need to select different mail options

share|improve this question

I solved this issue by marking the user certificate to use as "trusted peer" with certutil.

First install certutil if not already installed:

sudo apt-get install libnss3-tools

Then find the certificate nickname with

certutil -d sql:$HOME/.pki/nssdb -L

For me this nick is "Andreas Neustifter", it is different for you. Finally I marked this (my) certificate as trusted peer with

certutil -d sql:$HOME/.pki/nssdb -M -n "Andreas Neustifter" -t Pu,Pu,Pu

(Again, the nickname (given as option -n) is different for you...)

Hope this helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.