TOMCAT configures SSL two-way one-way handshake
1. Use the keytool tool in jre to generate the server certificate.
two。 Configure the server.xml file of tomcat and use the certificate generated by keytool as both the root certificate and the server certificate.
3. Import the self-built CA root certificate into the tomcat.keystore trust domain. Function: make the root certificate trust the user certificate issued by the self-built CA to realize the SSL two-way handshake.
4. The two-way SSL handshake function at this tomcat has been configured.
5.tomcat supports unidirectional / bidirectional SSL enabled at the same time.