Trying to figure out why I'm seeing the following errors in the log. I'm sure 
they are the reason why I cannot connect to my server via a browser on the 
specified port. Any help is greatly appreciated. Tomcat 10.0.7 is running 
(xxxxx below are intentionally left out):
catalina.out

05-Aug-2021 12:37:04.048 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Connector] failed to set property [ciphers] to 
[TLS_RSA_WITH_AES_256_GCM_SHA384,xxxxxxxxxxxxx]

05-Aug-2021 12:37:04.048 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Connector] failed to set property [keystoreFile] to 
[certs/keyStore.jks]

05-Aug-2021 12:37:04.018 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Connector] failed to set property [clientAuth] to [false]

05-Aug-2021 12:37:04.049 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Connector] failed to set property [keystoreType] to [jks]

05-Aug-2021 12:37:04.049 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Connector] failed to set property [keystorePass] to [xxxxxxxx]

05-Aug-2021 12:37:04.050 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Connector] failed to set property [sslEnabledProtocols] to 
[TLSv1.2]

 

05-Aug-2021 12:37:45.916 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat 
Native library which allows using OpenSSL was not found on the 
java.library.path: 
[/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]

05-Aug-2021 12:37:46.301 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["https-jsse-nio-9443"]

05-Aug-2021 12:37:46.330 SEVERE [main] 
org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to 
initialize component 
[Connector[org.apache.coyote.http11.Http11NioProtocol-9443]]

        org.apache.catalina.LifecycleException: Protocol handler initialization 
failed

                at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:1054)

                at 
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

                at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:561)

                at 
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

                at 
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1049)

                at 
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

                at org.apache.catalina.startup.Catalina.load(Catalina.java:747)

                at org.apache.catalina.startup.Catalina.load(Catalina.java:769)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:498)

                at 
org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:305)

                at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)

        Caused by: java.lang.IllegalArgumentException: No SSLHostConfig element 
was found with the hostName [_default_] to match the defaultSSLHostConfigName 
for the connector [https-jsse-nio-9443]

 

 

server.xml

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"

               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"

               clientAuth="false" sslProtocol="TLS" />

    -->

    <Connector port="9443"

      acceptCount="100"

      clientAuth="false"

      ciphers="TLS_RSA_WITH_AES_256_GCM_SHA384,xxxxxxxxxx"

      connectionTimeout="20000"

      disableUploadTimeout="true"

      enableLookups="false"

      keystoreFile="certs/keyStore.jks"

      keystoreType="jks"

      keystorePass="xxxxxxxx"

      maxHttpHeaderSize="8192"

      maxThreads="150"

      minSpareThreads="25"

      protocol="org.apache.coyote.http11.Http11NioProtocol"

      scheme="https"

      secure="true"

      server=""

      SSLEnabled="true"

      sslEnabledProtocols="TLSv1.2"

      URIEncoding="UTF-8"/>

 

 

    <!-- Define an AJP 1.3 Connector on port 8009

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

    -->
Thanks,Chris

Reply via email to