Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

Dear, good morning

I have an error.

I installed HMDM and I got this error in the Tomcat log. When I enter the URL it does not load the main screen.

I checked questions about similar errors but have not been able to solve the bug.

The Ubuntu machine is in a cloud, it has public and private IP. The domain already points to the public IP but neither IP nor domain loads the page.

Thank you in advance for your help

Here is the error:

 Failed to initialize component [Connector[HTTP/1.1-8443]]

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

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

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

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

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

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

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

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

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

      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6>

      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp>

      at java.base/java.lang.reflect.Method.invoke(Method.java:566)

      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: /var/lib/tomcat9/ssl/158.101.99.101.jks (No such file >

      at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:99)

      at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:71)

      at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:233)

      at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1213)

      at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1226)

      at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:603)

      at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:80)

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

      ... 13 more

  Caused by: java.io.FileNotFoundException: /var/lib/tomcat9/ssl/158.101.99.101.jks (No such file or di>

      at java.base/java.io.FileInputStream.open0(Native Method)

      at java.base/java.io.FileInputStream.open(FileInputStream.java:219)

      at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)

      at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)

      at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)

      at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:18>

      at org.apache.catalina.startup.CatalinaBaseConfigurationSource.getResource(CatalinaBaseConfigurat>

      at org.apache.tomcat.util.net.SSLUtilBase.getStore(SSLUtilBase.java:197)

      at org.apache.tomcat.util.net.SSLHostConfigCertificate.getCertificateKeystore(SSLHostConfigCertif>

      at org.apache.tomcat.util.net.SSLUtilBase.getKeyManagers(SSLUtilBase.java:281)

      at org.apache.tomcat.util.net.openssl.OpenSSLUtil.getKeyManagers(OpenSSLUtil.java:98)

      at org.apache.tomcat.util.net.SSLUtilBase.createSSLContext(SSLUtilBase.java:245)

      at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:97)

by (120 points)

1 Answer

0 votes
It is not possible to use HTTPS with an IP address, because you cannot issue a certificate to an IP address. Please set up a domain name for your Headwind MDM server, or use plain HTTP.
by (11.3k points)
...