Certificates - auto-mate/CheatSheetWiki GitHub Wiki
Windows, extract certificate from Manage Computer Certificates
Right click on certificate - select "All Tasks" and "Export"
Choose private or not as required.
Use default selections
Enter Password
enter Filename
Next and Finish
To view contents
openssl.exe pkcs12 -in <path to file exported from >.pfx
Export the private key (password is required)
openssl pkcs12 -in <path to file exported from >.pfx -nocerts -out <path>key.pem -nodes
openssl rsa -in <path>key.pem -out <path>key.txt
openssl s_client -connect <IP Address>:990 -showcerts