Use this procedure to configure CA CSM to use HTTPS instead of HTTP for user access manually.
Follow these steps:
keytool -genkey -alias tomcat -keyalg RSA
A prompt appears.
Note: keytool is a Java command that resides in the Java libraries. These libraries have a name similar to /Customer-Java-Prefix/ java/J6.0.1/bin/, where Customer-Java-Prefix is the Java USS directory name at your site. You can add this directory name in your USS profile path variable for successful command execution.
A default keystore is created in your home directory with one self-signed certificate inside.
keytool -genkey -alias tomcat -keyalg RSA \ -keystore /path/to/my/keystore
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<Connector port="30308" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
SSLEnabled="true"
keystorePass="tomcat"
keystoreFile="/a/path/to/my/keystore/.keystoreFile"
algorithm="IbmX509"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
sslEnabledProtocols="TLSv1.2,TLSv1.1,TLSv1" />
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="30305" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="30308"
acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout
value to 0 -->
Note: When you access the HTTPS URL from your browser for the first time, you may be prompted to confirm that you trust the certificate.
Note: For more information, see documentation for the Apache Tomcat 7.0 Servlet/JSP Container.
|
Copyright © 2014 CA.
All rights reserved.
|
|