Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Signing emails with S/MIME cert fails, I cant undertand why

  • 6 个回答
  • 0 人有此问题
  • 2 次查看
  • 最后回复者为 Dain_547647

more options

Hello,

Ive installed a MIME-certificate from Sectigo in Thunderbird 115.6.1 on Pop OS (flatpak).

The cert is in a pw-protected .p12-file which I have imported successfully. However when I try to sign emails I get the error-message shown in the first attached image. That the application cant find my cert or that it has expired. Both statements are incorrect imo :)

In attached image 2 and 3 it shows that the application has imported the cert and that its valid until 2025.

Any tips or input is helpful.

Also under Security Devices I have a PKCS#11 module that I have logged in to, but I dont see how that could affect PKCS#12 certs but I read in some guide that I had to do that. Which also apparently mean that master password is set for protecting credentials in the application, so I have to provide that password when opening Tunderbird.

Hello, Ive installed a MIME-certificate from Sectigo in Thunderbird 115.6.1 on Pop OS (flatpak). The cert is in a pw-protected .p12-file which I have imported successfully. However when I try to sign emails I get the error-message shown in the first attached image. That the application cant find my cert or that it has expired. Both statements are incorrect imo :) In attached image 2 and 3 it shows that the application has imported the cert and that its valid until 2025. Any tips or input is helpful. Also under Security Devices I have a PKCS#11 module that I have logged in to, but I dont see how that could affect PKCS#12 certs but I read in some guide that I had to do that. Which also apparently mean that master password is set for protecting credentials in the application, so I have to provide that password when opening Tunderbird.
已附加屏幕截图

被采纳的解决方案

So the problem turned out to be how I created the certificate out of the files the CA provided. For Thunderbird I had to include the certificate chain file when creating the pfx.

Like this: openssl pkcs12 -export -in myname_public.crt -inkey myname_private.key -certfile public_chain.crt -out my_SMIME_cert.p12

So now it works!

定位到答案原位置 👍 0

所有回复 (6)

more options

Also, when viewing the certificate in Thunderbird its uses seem to support what I want to use it for, so I dont see that the certificate itself is the problem here. Right?

有帮助吗?

more options

Try restating the certificate in the settings. Over the years I have had occasions when similar error have occurred and when I restate the certificate in account settings the line with the certificate to use comes back with what looks like a serial number after the certificate name and everything works again.

有帮助吗?

more options

I restated the cert and then I get the serial after the name, as you said.

Unfortunately it did not help. The error msg when sending signed e-mails is still the same.

I also installed the .deb variant of Thunderbird in Pop OS, instead of the flatpak variant, and tried that one, but same error. So doesnt have to do with the variant of the application.

由Dain_547647于修改

有帮助吗?

more options

Further investigation...

I set up a virtual machine with Windows 10 and MS Outlook (O365) and the same certificate works like a charm. Signing e-mails no problem.

Installed the Windows-version of Thunderbird on the same Windows VM and there I get the same error msg as above.

So MS Outlook 1, Thunderbird 0 I guess... :/

有帮助吗?

more options

Perhaps try asking in the encryption list. https://thunderbird.topicbox.com/groups/e2ee

That is where the experts on mail encryption and some of the developers can be found.

有帮助吗?

more options

选择的解决方案

So the problem turned out to be how I created the certificate out of the files the CA provided. For Thunderbird I had to include the certificate chain file when creating the pfx.

Like this: openssl pkcs12 -export -in myname_public.crt -inkey myname_private.key -certfile public_chain.crt -out my_SMIME_cert.p12

So now it works!

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题