Difference between revisions of "PKCS12"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
Show private key:
 
Show private key:
 
  openssl pkcs12 -info -in INFILE.p12 -nocerts
 
  openssl pkcs12 -info -in INFILE.p12 -nocerts
 +
 +
Generate .p12 from .pem
 +
[[openssl pkcs12]] -export -out keyStore.p12 -inkey myKey[[.pem]] -in certs[[.pem]]
  
 
== Related terms ==
 
== Related terms ==

Revision as of 00:42, 22 February 2022

It is normally used to store just one private key and its associated certificate chain.

Extensions: .p12 or .pfx


Show certs:

openssl pkcs12 -info -in INFILE.p12 -nokeys

Show private key:

openssl pkcs12 -info -in INFILE.p12 -nocerts

Generate .p12 from .pem

openssl pkcs12 -export -out keyStore.p12 -inkey myKey.pem -in certs.pem

Related terms

See also

Advertising: