When I exported the pfx file, I used the password. I was able to import the pfx file into the Domino KEY DB file as PKCS. I saved this with the name key.p12 . Later when I created a key ring file and try to import this PKCS file (key.p12), I am getting the error
I also tried with OpenSSL, but no luck.
Main Topics
Browse All Topics





by: ParanormasticPosted on 2009-04-30 at 13:40:38ID: 24274213
When you exported the pfx file, did you keep the strong protection on, requiring you to assign a password? Or did you remove that so no password? There should be a password if you didn't do that - some programs will behave oddly if you don't. Also, try having a password that is at least 8 characters long - although it shouldn't matter, I've seen issues with less than 4 or 8 characters in some rare cases. Blank passwords (as opposed to no password requirement) messes with a number of programs.
e.net/pack ages/opens sl.htm
pkcs12 -in %1.pfx -passin pass:%2 -out %1.pem -passout pass:%3
The other thing you can do is to try converting the pfx file to PEM format - some programs work better with a PEM formatted cert. You can download OpenSSL from http://gnuwin32.sourceforg
Here's a script to run - you can pass the variables when you run the .bat file or you can replace them ahead of time.
: %1 = filename (will be used for PFX and PEM filenames)
: %2 = password for input PFX file
: %3 = password for output PEM file
c:\openssl\bin\openssl.exe
pause