Hello geeks!
I’ve been installing an SSL certificate in the last 3 weeks and i just cant install it with keytool, cloudflare, another free SSL certs… So, a friend tell me Lets encrypt and i’ve been trying to install it all day and i cant install it so far.
I’ve done various searches on google to solve some problems and now im stopped… I’m checking catalina erros logs but now i don’t have any errors:
> 22-Jun-2019 01:58:42.107 INFO [main] org.apache.catalina.core.AprLifecycleListener.init Loaded APR based Apache Tomcat Native library 1.2.21 using APR version 1.7.0.
> 22-Jun-2019 01:58:42.108 INFO [main] org.apache.catalina.core.AprLifecycleListener.init APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
> 22-Jun-2019 01:58:42.156 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'SSLCertificateFile' to '/etc/letsencrypt/live/gamefuzion.pt-0001/cert.pem' did not find a matching property.
> 22-Jun-2019 01:58:42.157 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'SSLCertificateKeyFile' to '/etc/letsencrypt/live/gamefuzion.pt-0001/privkey.pem' did not find a matching property.
> 22-Jun-2019 01:58:42.157 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'SSLCertificateChainFile' to '/etc/letsencrypt/live/gamefuzion.pt-0001/chain.pem' did not find a matching property.
> 22-Jun-2019 01:58:42.160 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'SSLVerifyClient' to 'optional' did not find a matching property.
> 22-Jun-2019 01:58:42.161 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'SSLProtocol' to 'TLSv1+TLSv1.1+TLSv1.2' did not find a matching property.
> 22-Jun-2019 01:58:42.161 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystorePath' to '/root/.keystore' did not find a matching property.
> 22-Jun-2019 01:58:42.205 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.1.0j 20 Nov 2018)
> 22-Jun-2019 01:58:42.332 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-185.113.141.147-80"]
> 22-Jun-2019 01:58:42.347 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-443"]
> 22-Jun-2019 01:58:42.557 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
> 22-Jun-2019 01:58:42.563 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 707 ms
> 22-Jun-2019 01:58:42.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
> 22-Jun-2019 01:58:42.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.5
> 22-Jun-2019 01:58:42.616 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /root/apache-tomcat-8.0.5/webapps/ROOT.war
> 22-Jun-2019 01:58:44.956 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /root/apache-tomcat-8.0.5/webapps/forum
> 22-Jun-2019 01:58:46.036 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /root/apache-tomcat-8.0.5/webapps/host-manager
> 22-Jun-2019 01:58:47.160 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /root/apache-tomcat-8.0.5/webapps/manager
> 22-Jun-2019 01:58:47.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-185.113.141.147-80"]
> 22-Jun-2019 01:58:47.949 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-443"]
> 22-Jun-2019 01:58:47.951 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 5386 ms
When i try to access my website trhought HTTPS it says “ERR_CONNECTION_CLOSED”
I dont really know what to do next and my mind is just like an explosion with this SSL thing…
Im not an experto but i’ve tried to do it correctly.
My server.xml is configured like that:
> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
> port="443"
> maxThreads="150"
> scheme="https"
> secure="true"
> SSLEnabled="true"
> SSLCertificateFile="/etc/letsencrypt/live/gamefuzion.pt-0001/cert.pem"
> SSLCertificateKeyFile="/etc/letsencrypt/live/gamefuzion.pt-0001/privkey.pem"
> SSLCertificateChainFile="/etc/letsencrypt/live/gamefuzion.pt-0001/chain.pem"
> SSLVerifyClient="optional" SSLProtocol="TLSv1+TLSv1.1+TLSv1.2"
> keystorePath="/root/.keystore"
> keystorePass="qwerty08" />
I’m running tomcat 8.0.5 in Debian 8.
> **Link:** gamefuzion.pt
Im sorry if im posting it wrongly or i missed something but i am really desesperated at the moment to make it work.