Reprinted: https://blog.csdn.net/qq331709114/article/details/80223206
https://blog.csdn.net/gui66497/article/details/79289047
命令: keytool -genkey -alias tomcat -storetype PKCS12 -keyalg RSA -keysize 1024 -keypass 123456 -storepass 123456 -dname "CN=192.168.10.137,OU=csoa,O=csoa,L=FZ,ST=FZ,C=CN" -ext san=ip:192.168.10.137 -validity 3600 -keystore D:\cert\keystore.p12
Then the generated certificate file into the browser to Google
Restart your browser
Browser and enter https: // ip: 8443 can not be prompted connection is not private, and direct access to the page
Note: Importing the Trusted Root Certification Authorities
Note fill in the corresponding ip.
I Google Chrome version 78, may not be supported in the future, the first record
If there are other more convenient way to use the ip access https, welcome message corrections