Veritas NetBackup™ 8.0 Plug-in for VMware vCenter Guide
- Introduction and notes
- Installing the NetBackup Plug-in for vCenter
- Monitoring backup status
- Recovering virtual machines
- Troubleshooting
Installing an SSL certificate from a Certificate Authority
Optionally for the NetBackup plug-in for vCenter, you can install an SSL certificate from a Certificate Authority that you trust. To do so, you must have both an SSL certificate and an accompanying chain certificate. This procedure renames the alias of the existing certificate for the Apache Tomcat® server that is packaged with the NetBackup plug-in for vCenter. Only one alias can exist for the certificate for Tomcat.
If you do not install an SSL certificate from a CA, you may be prompted to install a certificate.
See Installing the trusted SSL certificate.
To install an SSL certificate from a Certificate Authority
- Enable SSH on the NetBackup plug-in for vCenter virtual appliance, as follows:
a.
Log on to the plug-in virtual appliance by using a vSphere console.
b.
Edit the
/etc/ssh/sshd_config
file and set PermitRootLogin to yes.c.
Start the sshd service by entering the following command:
/etc/init.d/sshd start
- Ensure that the JRE_HOME environment variable on the virtual appliance is set to /opt/SYMCnbvcPlugin/jre.
- Copy the SSL certificate and chain certificate to the virtual appliance. Use secure file transfer to copy the files.
- Stop the Apache Tomcat server by entering the following command on the virtual appliance:
/opt/SYMCnbvcPlugin/tomcat/bin/shutdown.sh
- Change the alias of the existing certificate in the keystore by entering the following command on the virtual appliance:
/opt/SYMCnbvcPlugin/jre/bin/keytool - changealias - alias "tomcat" - destalias new_alias_name - keystore /root/.keystore
The value of the new_alias_name is not significant for this operation.
Note:
The keystore password is located in the Tomcat configuration file (/opt/SYMCnbvcPlugin/tomcat/conf/server.xml)
- Import the chain certificate into the keystore by entering the following command on the virtual appliance:
/opt/SYMCnbvcPlugin/jre/bin/keytool - import - alias "root" - keystore /root/.keystore - trustcacerts - file chain_certficiate_file
- Import the SSL certificate into the keystore by entering the following command on the virtual appliance:
/opt/SYMCnbvcPlugin/jre/bin/keytool - import - alias "tomcat" - keystore /root/.keystore - file ssl_certificate_file
- Start the Tomcat server by entering the following command on the virtual appliance:
/opt/SYMCnbvcPlugin/tomcat/bin/startup.sh
- Disable SSH on the virtual appliance, as follows:
a.
Edit the
/etc/ssh/sshd_config
file and set PermitRootLogin to no.b.
Stop the sshd service by entering the following command:
/etc/init.d/sshd stop