Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat SSL Different Keystore and Key password

Tags:

java

ssl

tomcat

I have been trying to configure tomcat, however I have come across a small problem. My keystore and key have different passwords, if I try to configure as per the below then https will not work. If I make the passwords match it does work. Is there anyway to tell tomcat that the key password is different? or is this a limitation? I am using Tomcat 7 version 63

<Connector port="7001" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
       keystoreFile="d:/path/to/Keystore.jks"  keystorePass="KeystorePassword"
           clientAuth="false" sslProtocol="TLS" />

Thanks

like image 460
Gohan950 Avatar asked Oct 31 '25 15:10

Gohan950


1 Answers

Ahh Ok, I have resolved this issue, as the keyStorePassword and key password were different All I had to do was add the following keyPass= I feel pretty stupid now!

like image 96
Gohan950 Avatar answered Nov 03 '25 03:11

Gohan950