Quickly create and implement a self signed cert for Tomcat...
Submitted by dave on Fri, 02/14/2020 - 13:24
Create keystore with a self signed cert
keytool -genkey -keystore /path/keystore.jks -alias selfsigned -keyalg RSA -keysize 4096 -validity 720Enter details for cert and enter password = password123
Update Tomcat server.xml
Verify
https://192.168.1.10:8443/ Should return this:Bad Request This combination of host and port requires TLS.https://192.168.1.10:8443/ Returns: Warning that cert is not signed by an authority. But HTTPS is used
Reference:
Using Tomcat 9.x, Java 1.8
Add new comment