tomcat配置重定向
Secured Socket Layer (SSL) is the cryptography protocol to provide message security over the Internet. It works on the notion of Private and Public keys and messages are encrypted before sending it over the network.
安全套接字层(SSL)是用于通过Internet提供消息安全性的加密协议。 它适用于私钥和公钥的概念,并且消息在通过网络发送之前已加密。
To configure SSL on Tomcat, we need a digital certificate that can be created using Java keytool for the development environment. For the production environment, you should get the digital certificate from SSL certificate providers, for example, Verisign, Entrust, Lets’ Encrypt.
要在Tomcat上配置SSL,我们需要一个数字证书,可以使用Java keytool为开发环境创建一个数字证书。 对于生产环境,您应该从SSL证书提供者那里获得数字证书,例如Verisign,Entrust和Lets'Encrypt。
创建SSL证书 (Creating SSL Certificate)
Follow the below steps to create your own digital certificate.
请按照以下步骤创建自己的数字证书。
$ keytool -genkey -alias tomcat -keyalg RSA -keystore mycertificate.cert
Enter keystore password:
Re-enter new password:
What is