Chapter 11
Adding your own certificate
Skybox version 11.7.100
52
server.keystore.p12 -deststoretype PKCS12 -srcalias <alias> -
deststorepass skyboxview -destkeypass skyboxview
If you do not remember your alias:
a. Execute
../../thirdparty/jdk<version#>/bin/keytool -list -v -keystore
server.keystore -storepass skyboxview
b. Find your server certificate. Above it is Alias name; this is your alias.
4. Export the server certificate from the keystore:
openssl pkcs12 -in server.keystore.p12 -nokeys -out
/etc/pki/tls/certs/skybox_cert.pem
The certificate is exported directly to
/etc/pki/tls/certs
5. When prompted Enter Import Password, enter skyboxview.
6. Export the private key from the keystore:
openssl pkcs12 -in server.keystore.p12 -nodes -nocerts -out
/etc/pki/tls/private/skybox_key.pem
The private key is exported directly to
/etc/pki/tls/private
7. When prompted Enter Import Password, enter skyboxview.
8. Remove the P12 keystore:
rm server.keystore.p12
Important: Do not remove
server.keystore
.
9. Continue to
and use the exported server certificate and private
key when required.