**
Linux under pfx certificate to export key and crt
**
A: In the case of do not know openssl openssl path to determine the path of the
two: cd / usr / local / ssl
the SET OPENSSL_CONF = OPENSSL_CONF
three: the target .pfx file into the current directory (/ usr / local / ssl)
1. first turn .pem file
OpenSSL PKCS12 -IN an.pfx -nodes -out an.pem
2. the .pem file into .key file
OpenSSL rsa -IN an.pem -out an.key
3. the .pem documents into .crt file
openssl x509 -in an.pem -out an.crt
successful conversion ll see