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!

Pinned certificate using Let's Encrypt?

Discussion in 'Security' started by prixone, Oct 16, 2016.

Tags:
  1. prixone

    prixone Well-Known Member

    Joined:
    Mar 4, 2004
    Messages:
    111
    Likes Received:
    3
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Hi,

    I would like to know if the Let's Encrypt code used by cPanel will preserve your pinned key so that standalone or any other application can use Pinned Key verifications?

    Or would it be possible that we have an option where it would update the certificate when its life ends using the same pinned key? An option in the panel that we can check to keep it.

    SIDE NOTE: this specific question is not about HPKP, but the public key it self.

    Thanks...
     
    #1 prixone, Oct 16, 2016
    Last edited: Oct 16, 2016
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,758
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    prixone likes this.
  3. prixone

    prixone Well-Known Member

    Joined:
    Mar 4, 2004
    Messages:
    111
    Likes Received:
    3
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Thanks Michael, I already knew about that request and already supported it, but would there be a short guide(step by step) on how to do that with a single domain on cPanel and retain that format as in not let it be overriden? For testing purposes...
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,758
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The following third-party URLs offer information on how to implement this manually until the feature is included with cPanel:

    HTTP Public Key Pinning Extension HPKP for Apache, NGINX and Lighttpd - Raymii.org
    Everything you Need to Know about HTTP Public Key Pinning (HPKP)

    Regarding the modifications to the Virtual Hosts in Apache for the domain name, this document offers instructions on how to add custom entries:

    Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation

    Note that mod_headers is compiled with Apache by default:

    Code:
    # httpd -M|grep header
    headers_module (shared)
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice