PFX Extraction: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
(Created page with "openssl pkcs12 -in <hostname>.pfx -nocerts -nodes -out <hostname>-key.pem openssl pkcs12 -in <hostname>.pfx -clcerts -nokeys -out <hostname>-cert.pem openssl pkcs12 -in <host...")
 
No edit summary
 
Line 1: Line 1:
openssl pkcs12 -in <hostname>.pfx -nocerts -nodes -out <hostname>-key.pem
openssl pkcs12 -in <hostname>.pfx -nocerts -nodes -out <hostname>-key.pem
openssl pkcs12 -in <hostname>.pfx -clcerts -nokeys -out <hostname>-cert.pem  
 
openssl pkcs12 -in <hostname>.pfx -clcerts -nokeys -out <hostname>-cert.pem
 
openssl pkcs12 -in <hostname>.pfx -cacerts -nokeys -out <hostname>-chain.pem
openssl pkcs12 -in <hostname>.pfx -cacerts -nokeys -out <hostname>-chain.pem

Latest revision as of 19:04, 9 September 2022

openssl pkcs12 -in <hostname>.pfx -nocerts -nodes -out <hostname>-key.pem

openssl pkcs12 -in <hostname>.pfx -clcerts -nokeys -out <hostname>-cert.pem

openssl pkcs12 -in <hostname>.pfx -cacerts -nokeys -out <hostname>-chain.pem