To whom it may concern,

On 1/21/24 2:59 PM, support wrote:
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 <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\"

The above command will not work as written. You can't point -keystore to a directory. It must be a file.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to