Difference between revisions of "Openssl pkcs12"
Jump to navigation
Jump to search
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | [[ | + | https://www.openssl.org/docs/manmaster/man1/openssl-pkcs12.html |
+ | |||
+ | [[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 myPrivateKey[[.pem]] -in certs[[.pem]] | ||
== Related commands == | == Related commands == | ||
* <code>[[openssl x509]]</code> | * <code>[[openssl x509]]</code> | ||
+ | * <code>[[openssl pkcs7]]</code> | ||
== See also == | == See also == | ||
+ | * {{.pem}} | ||
+ | * {{PKCS12}} | ||
* {{openssl}} | * {{openssl}} | ||
[[Category:OpenSSL]] | [[Category:OpenSSL]] |
Latest revision as of 16:25, 16 August 2023
https://www.openssl.org/docs/manmaster/man1/openssl-pkcs12.html
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 myPrivateKey.pem -in certs.pem
Related commands[edit]
See also[edit]
- Certificate:
.pem
,.ppk
,.pfx
,.p12
,.cer, .crt
,openssl pkcs12
,.csr
,.pub
, PFX, PKCS, PKCS - PKCS12,
.p12
,.pfx
,openssl pkcs12
openssl
[rand | s_client | passwd
|openssl req
|openssl rsa
|openssl genrsa
|openssl x509
|openssl ca
|openssl verify
|openssl ec
|openssl dgst
|openssl pkcs12
|openssl asn1parse
|openssl help
|.cer to .pem, openssl version
Advertising: