SSL in Tomcat 8: server & client JKS + client public cer

前端 未结 1 1740
花落未央
花落未央 2021-01-15 18:16

I\'ve followed this guide so as to setup my Tomcat 8 instance with SSL layer, producing a client and server keystores and a public client certificate autosigned.

The

相关标签:
1条回答
  • 2021-01-15 18:37

    You question lacks important details such as tomcat's log and the structure of your keystore. For example, key placed in the keystore can be password protected itself. The port you want to use can be already occupied, etc, etc. There are many things that can go wrong.

    In common, I can advise you to keep things as simple as you can. Try this snippet:

    <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" 
               keystoreFile="/etc/tomcat7/server.jks"
               keystorePass="changeit" />
    
    0 讨论(0)
提交回复
热议问题