...
Info |
---|
Troubleshoot
|
Option 2: Importing certificates into an existing Package existing PEM-format key and certificates in a new Java keystore
If you have an existing private key and certificates for your server's domain, in PEM format, importing them into a Java keystore requires the OpenSSL tool. OpenSSL can package the PEM files in a PKCS keystore. Java keytool can then convert the PKCS keystore to a Java keystore.
...
Issue the command below, after substituting your values for two variables
(The command will prompt you for keystore passwords):
<your.domain.com.p12> : The existing keystore file.
<your.domain.com> : The complete domain name of your Code42 server
Convert the resulting PKCS keystore file, <your.domain.com>.p12 into a Java keystore
Code Block |
---|
keytool -importkeystore -srckeystore <your.domain.com.p12> -srcstoretype PKCS12 -destkeystore <your.domain.com>.jks -deststoretype jks |
You can also use the command above to convert a PFX keystore to a Java keystore