Scenario: I wanted to create PKCS12 file to import into a Sonicwall Firewall (FW 18.104.22.168)
– Certificate from CA (my.crt)
– Private key (my.key)
– CA Bundle (myCA.crt)
– The password for the private key
From a UNIX based server pop all of the required files into a specific directory.
# openssl pkcs12 -export -in my.crt -inkey my.key -out my.p12 -certfile myCA.crt
You will then be prompted to enter the password for the private key. Once completed the my.p12 will be created.
Once you have the .p12 file copy it to your local machine for upload to the Sonicwall.
Go to System -> Certificates -> Import
Once imported you should see that it is validated: