SEVERE: Failed to load the JKS keystore type using the webapps path /FT.keystore due to signed overflow, bytes = 128 when starting TomCat 6

I am trying to configure Tomcat to accept HTTPS requests. The problem is that when I start Tomcat, I have the following exception:

SEVERE: Failed to load JKS keystore type using webapps path /FT.keystore due to signed overflow, bytes = 128

I already created keystore FT.keystore and put it in the webapps / directory.

Here is the configuration I use for the HTTPS connector (Xxx just to keep information private)

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" keystoreFile="webapps/xxx.keystore" keystorePass="xxxx" clientAuth="false" sslProtocol="TLS" /> 

Can someone help me solve this problem? I used keytool ($ JAVA_HOME / bin) to generate my keystore and RSA algorithm. Many thanks.

+7
source share
1 answer

Your connector configuration looks good, so I suspect something is wrong with the created keystore. Are you sure you generated it as stated in Tomcat 6 SSL Configuration HOW-TO ? The command should look like this:

 %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA 

(Note the -alias tomcat parameter - I found several links that indicate that -alias tomcat it will cause a "signed overflow" problem.)

+2
source

All Articles