Difference between revisions of "Openssl pkcs12"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
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 commands ==
 
== Related commands ==

Revision as of 00:43, 22 February 2022

openssl pkcs12 -info -in INFILE.p12 -nodes
openssl pkcs12 -info -in INFILE.p12

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 commands

See also

Advertising: