Skybox version 11.7.100
50
Chapter 11
Adding your own certificate
To connect to Skybox Appliance Administration via your own certificate, add the certificate to
the Apache web server.
Note: If you generated your own certificate using the
Generating and installing a certificate
using the Java keytool procedure in the Skybox Installation and Administration Guide, follow
the directions in
Exporting the Server certificate and private key from the Java keystore
before
continuing.
To add your own certificate
1. Log in to the Skybox Server or Skybox Collector via SSH as the root user.
2. Transfer the private key to
/etc/pki/tls/private
The private key must
not have a passphrase. If a passphrase is used in the private key,
errors similar to the following are written to
/etc/httpd/logs/webadmin-error_log
:
[Sun Nov 03 16:26:23.622970 2019] [ssl:error] [pid 10480:tid
140600437254272] AH02246: Init: Unable to read pass phrase [Hint: key
introduced or changed before restart?]
[Sun Nov 03 16:26:23.622997 2019] [ssl:error] [pid 10480:tid
140600437254272] SSL Library Error: error:0D0680A8:asn1 encoding
routines:ASN1_CHECK_TLEN:wrong tag
[Sun Nov 03 16:26:23.623006 2019] [ssl:error] [pid 10480:tid
140600437254272] SSL Library Error: error:0D08303A:asn1 encoding
routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
[Sun Nov 03 16:26:23.623012 2019] [ssl:error] [pid 10480:tid
140600437254272] SSL Library Error: error:0D0680A8:asn1 encoding
routines:ASN1_CHECK_TLEN:wrong tag
[Sun Nov 03 16:26:23.623019 2019] [ssl:error] [pid 10480:tid
140600437254272] SSL Library Error: error:0D07803A:asn1 encoding
routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=RSA)
[Sun Nov 03 16:26:23.623026 2019] [ssl:error] [pid 10480:tid
140600437254272] SSL Library Error: error:04093004:rsa routines:OLD_RSA_
PRIV_DECODE:RSA lib
[Sun Nov 03 16:26:23.623032 2019] [ssl:error] [pid 10480:tid
140600437254272] SSL Library Error: error:0D0680A8:asn1 encoding
routines:ASN1_CHECK_TLEN:wrong tag
[Sun Nov 03 16:26:23.623039 2019] [ssl:error] [pid 10480:tid
140600437254272] SSL Library Error: error:0D07803A:asn1 encoding
routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO)
3. Transfer the server certificate to
/etc/pki/tls/certs
4. If you have an intermediate CA certificate: