This procedure describes how to set up SSL between a web browser and Tomcat Web Server. The following steps assume you are using an SSL certificate from a Certificate Authority and you are using the Tomcat Web Server provided with Control-M/EM.
To set up SSL between a Web browser and Tomcat Server:
NOTE: You need to use the password at a later stage to configure the web server server.xml file. Type the information when prompted and press Enter for the certificate password, which sets the same certificate password as the keystore. You might want to use the company's domain name under the NAME field. For example, www.bmc.com.
The keystore file tomcat.keystore is created under $JAVA_HOME/bin/ by default, if no file path is specified.
$JAVA_HOME/bin/keytool -certreq -keyalg RSA -alias tomcat -keystore tomcat.keystore -file <yourcertificatname>.csr
$JAVA_HOME/bin/keytool -import -trustcacerts -alias root -keystore tomcat.keystore -file <path/to/the/CA.cert>
$JAVA_HOME/bin/keytool -import -alias tomcat -keystore tomcat.keystore -file <path/to/the/ssl_cert.cer>
$JAVA_HOME/bin/keytool -list -v -keystore tomcat.keystore > output_filename
Parent Topic |