Setting up tomcat 8.5 APR https connection

92 views Asked by At

I've been trying to setup my tomcat for HTTPS connectivity using APR library and I've already downloaded the tcnative-1.dll from here and placed that inside my tomcat lib directory (Program Files\Apache Software Foundation\Tomcat 8.5\bin) and modified my server.xml to use this connector configuration:

<Connector port="8443"
           protocol="org.apache.coyote.http11.Http11AprProtocol"
           maxThreads="150" SSLEnabled="true">
    <UpgradeProtocol compression="on" className="org.apache.coyote.http2.Http2Protocol"/>
    <SSLHostConfig honorCipherOrder="false">
        <Certificate certificateKeyFile="C:\wew\keystore\mysitename.key"
                     certificateFile="C:\wew\keystore\mysitename.crt"/>
    </SSLHostConfig>
</Connector>

This error appears when I try to start tomcat tomcat error which is probably due to the library not found. Can anyone help me on this? Am I missing something? I'm fairly new to this so I'm really confused.

0

There are 0 answers