Secure communications between the Apache Tomcat application server that hosts the Connector and the client that communicates with the Connector by using a certificate that belongs to your company. Use the Java Development Kit (JDK) keytool program to create your own self-signed certificate.
<tomcat>/conf/server.xml file, Apache Tomcat is configured to read the server
certificate from a keystore file.
To improve security, you need to generate a certificate. When you generate the new certificate you set values that are based on your company information. These values include the fully qualified domain name of the Tomcat server that you are deploying the Connector to.
The JDK keytool program is useful for managing keystores and certificates on the server. The keytool program is provided with any standard JDK distribution and can be located in the bin sub directory of wherever your JDK is installed: JAVA_HOME\bin.
For more information about the keytool program, see keytool - Key and Certificate Management Tool
PathToKeytool/keytool -genkey -keyalg RSA -alias example_name -keystore example_name-ssl.keystore -storepass example_name -validity 360 -keysize 2048