Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED HTTP/2 on Centos 6.9 Apache 2.4.25

Discussion in 'Workarounds and Optimization' started by itmonitor, Apr 11, 2017.

Tags:
  1. itmonitor

    itmonitor Well-Known Member

    Joined:
    Apr 10, 2014
    Messages:
    72
    Likes Received:
    13
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Hi!

    HTTP/2 requests OpenSSL 1.0.2. HTTP/2 is enabled for Apache since its 2.4.17 version. My server runs on Centos 6.9, Apache 2.4.25 and EA4 under SSL 1.0.1e.

    Seems like SSL 1.0.2 cannot be installed in Centos 6.9? How to solve this SSL version issue in order to install HTTP/2? Any advice is welcome.
     
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    605
    Likes Received:
    94
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    HI,

    You won't need an updated OpenSSL version to use our version of HTTP2. We've statically built the SSL modules so they don't require an installed OpenSSL library to use the HTTP2 functions. You should be able to install this now.
     
  3. itmonitor

    itmonitor Well-Known Member

    Joined:
    Apr 10, 2014
    Messages:
    72
    Likes Received:
    13
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Jacob,

    many thanks. Is there any risk/history of HTTP/2 breaking Wordpress websites asfar as you know?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  5. itmonitor

    itmonitor Well-Known Member

    Joined:
    Apr 10, 2014
    Messages:
    72
    Likes Received:
    13
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Wow, Michael, thank you for the blazing fast reply. The devised solution is great also, I was worried about the SSL issue.

    Thank you CPanel guys!
     
    cPJacob likes this.
  6. itmonitor

    itmonitor Well-Known Member

    Joined:
    Apr 10, 2014
    Messages:
    72
    Likes Received:
    13
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    HTTP2 is enabled following the steps here (Best Answer) EasyApache 4 HTTP2 Support

    However, KeyCDN reports the website is not under HTTP2, screenshot here diigo.com/item/image/5pj5q/x6qr
    and Akamai tells me my browser does not support HTTP2 diigo.com/item/image/5pj5q/5is0

    However, I use Chrome Version 57.0.2987.133 (64-bit) - last version. Chrome is supposed to work with HTTP2 since end last year.

    Please, any ideas on how to solve this ALPN issue?
     
    #6 itmonitor, Apr 13, 2017
    Last edited by a moderator: Apr 13, 2017
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @itmonitor,

    Could you check to see which MPM is enabled on your system?

    Code:
    rpm -qa|grep mpm
    It's possible your system is using MPM ITK, which isn't compatible with HTTP2.

    Thank you.
     
  8. itmonitor

    itmonitor Well-Known Member

    Joined:
    Apr 10, 2014
    Messages:
    72
    Likes Received:
    13
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Michael

    I had requested my hosting company to enable HTTP2. On checking the steps they took, I found out they forgot to add the .conf file. For this reason HTTP2 was not loading. I added the file and it is loading now.

    Many thanks,

    IM
     
    cPanelMichael likes this.
  9. itmonitor

    itmonitor Well-Known Member

    Joined:
    Apr 10, 2014
    Messages:
    72
    Likes Received:
    13
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    rpm -qa|grep mpm
    ea-apache24-mod_mpm_prefork-2.4.25-8.9.2.cpanel.x86_64
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    This shows you are not affected by that issue. I'm happy to see you were able to solve the problem. Thank you for updating us with the outcome.
     
  11. itmonitor

    itmonitor Well-Known Member

    Joined:
    Apr 10, 2014
    Messages:
    72
    Likes Received:
    13
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Thank you too.
     
    Infopro likes this.
Loading...

Share This Page