Windows SSL: Difference between revisions

From Dave-Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
==View Contents of a Certificate File==
==View Contents of a Certificate File==


  certutil -dump .\cert.pem
<code>certutil -dump .\cert.pem</code>


==Convert x.509 (PKCS#12) to PFX==
==Convert x.509 (PKCS#12) to PFX==


<code>openssl pkcs12 -export -out cert.pfx -inkey private.key -in cert.crt -certfile CACert.crt</code> (-certfile is not required)
<code>openssl pkcs12 -export -out cert.pfx -inkey private.key -in cert.crt -certfile CACert.crt</code> (-certfile is not required)

Latest revision as of 16:33, 21 November 2024

View Contents of a Certificate File

certutil -dump .\cert.pem

Convert x.509 (PKCS#12) to PFX

openssl pkcs12 -export -out cert.pfx -inkey private.key -in cert.crt -certfile CACert.crt (-certfile is not required)