Keytool Operations: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
* [[keytool#Subjects|keytool]] | * [[keytool#Subjects|keytool]] | ||
=Generate a Public/Private Key Pair= | |||
=Generate a Certificate Signing Request= | =Generate a Certificate Signing Request= |
Revision as of 05:10, 8 April 2018
Internal
Generate a Public/Private Key Pair
Generate a Certificate Signing Request
A certificate signing request can be generated with the following command:
keytool -certreq -alias jce-provider-signing-key -file novaordis-jce-provider2.csr -keystore ./jce-provider-signing-keystore.jks -storepass n7ejfh2jef234rBe
Inspect the Certificate
The certificate data can be displayed with:
keytool -printcert -v -file ./test-cert.pem
It accepts certificates in PEM format.