You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by support <su...@ddtechsvcs.com> on 2024/01/21 19:59:06 UTC
Cannot Start Tomcat Windows Service_01/21/24
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
Re: Cannot Start Tomcat Windows Service_01/21/24
Posted by Christopher Schultz <ch...@christopherschultz.net>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
AW: Cannot Start Tomcat Windows Service_01/21/24
Posted by "Thomas Hoffmann (Speed4Trade GmbH)" <Th...@speed4trade.com.INVALID>.
Hello,
> Von: support <su...@ddtechsvcs.com>
> Gesendet: Sonntag, 21. Januar 2024 20:59
> An: users@tomcat.apache.org
> Betreff: Cannot Start Tomcat Windows Service_01/21/24
>
> 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
>
please provide the log file messages.
There should be more information in <Tomcat>\logs
Greetings, Thomas