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.

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:
    107
    Likes Received:
    3
    Trophy Points:
    18
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    prixone likes this.
  3. prixone

    prixone Well-Known Member

    Joined:
    Mar 4, 2004
    Messages:
    107
    Likes Received:
    3
    Trophy Points:
    18
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page