A Personal Information Exchange (PFX) is a cryptographic file format used to store and protect sensitive information such as certificates, private keys, and secrets. In this blog, I’ll explain how to extract the certificates and private keys from PFX using OpenSSL in Windows Subsystem for Linux (WSL).
Prerequisites:
- WSL
- PFX file with certificate and private key
- Open WSL and run sudo apt update to refresh the list of available packages and their versions.
- Run sudo apt install openssl to install OpenSSL in WSL.