Hi,
I am trying to import a PKCS12 pfx file into Firefox, but it refuses to do so complaining that either the file is corrupted or the password is wrong. However, neither of those assumptions is true: I am able to extract the certificate from the command line using
openssl pkcs12 -in <file>.pfx -clcerts -nokeys -legacy -out certificate.crt
(I had to add the -legacy
option otherwise it would not work)
Chromium and seahorse also fail – seahorse is able to decrypt the file and look at its contents (a RSA key and the certificate per se), but the “import” button remains disabled.
The curious thing is: the same version of Firefox running on a Windows 11 VM is able to import the pfx directly. This (and the need to add the -legacy
parameter) leads me to think something might be wrong system-wide.
Any hints on what I need to do?