I receive the Windows error below every time I try to start the Tomcat Windows
service after modifying the server.xml file to require TLS. I used the
instructions below and other online sources to find the proper syntax to modify
server.xml. Nothing has worked. I used the keytool commands to create my own
keystore and self-signed certificate.
Instructions
https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html
Key Information
keytool -genkeypair -alias <name> -keyalg RSA -validity 1095 -keystore
"C:\Program Files\Apache Software Foundation\Tomcat
9.0_Tomcat9.0.85\conf\Certificates\"
Software Information
OS: Windows 10 and Windows Server 2019
Java: JDK (build 1.8.0_391-b13)
Apache Tomcat: Version 9.0.85