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!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

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!

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題