Hi Tomcat users 

I have now configured the tomcat configuration file (server.xml) to use TLS 
(see relevant sections of server.xml). I created a keystore (using the jdk 
keystore command) for my existing certificate.

I am getting "This site cannot be reached" from my browser (Chrome) when I 
enter the URL https://oxnetmdms04:8443/OracleStatus

Can anyone tell what I am doing wrong? (wrt:  
https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html)

Keystore command used:

"%JAVA_HOME%\bin\keytool" -import -alias mdms04 -file certificate.crt -keystore 
publicKey.store

Relevant sections from Server.xml:

 <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true" 
        <SSLHostConfig>
            <Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
                         type="RSA" />
        </SSLHostConfig>
    </Connector>
....
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
       <Connector
           protocol="org.apache.coyote.http11.Http11NioProtocol"
           port="8443" maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="%CATALINA_HOME%\conf\keystore\publicKey.store" 
keystorePass="mdms04"
           clientAuth="false" sslProtocol="TLS"/>


Mark Sandels



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to