The filename extensions for PKCS #12 are *.PFX or *.P12 and both are the most common bundles of X.509 certificates (sometimes with the full chain of trust) and private key.
I always need to look at the man page of OpenSSL or review my bash history to use the right options to extract a certificate file and a key file from it.
For this reason, I’ve created a small bash script to complete this step for me.
Continue reading “How to get your Certificate and Private Key file from a PFX file”