Reputation: 41
Can any one please tell me the how to configure the HTTP2 on Apache Tomcat Server.
Upvotes: 0
Views: 765
Reputation: 136
here is a developer installation guide I wrote to the tomcat mailing list some time ago: Link to mailing list post
Create pem files in “apache-tomcat-8.5.15/conf” folder - use “changeit” every time a password is going to be requested (The commands can be executed separately or within a shell script):
Uncomment the http/2 connector with protocol “org.apache.coyote.http11.Http11AprProtocol” in the "apache-tomcat-8.5.15/conf/server.xml"
Create a setenv.sh file within the /bin folder and add lines:
Start Server
Logs:
01-Jun-2017 09:32:46.551 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.12] using APR version [1.5.2].
01-Jun-2017 09:32:46.551 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
01-Jun-2017 09:32:46.551 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
01-Jun-2017 09:32:46.556 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2l 25 May 2017]
Upvotes: 4
Reputation: 755
Since you haven't written what you have already tried I suggest you start with Apache's guide. It explains how to compile Apache with the HTTP/2 module (it's still experimental so it isn't on by default) and the configuration process
Upvotes: 1