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.

.well-known added to all accounts

Discussion in 'Security' started by royce1054, Aug 4, 2017.

Tags:
  1. royce1054

    royce1054 Registered

    Joined:
    Aug 4, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Is the .well-known folder created by cPanel or is it created by something else?

    If so...
    Is this folder automatically placed in all newly created accounts? Is it added to all previous accounts?
     
  2. carlose

    carlose Member

    Joined:
    Feb 1, 2017
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    Root Administrator
    Hi, royce1054!

    I believe this file is created (by cPanel and other Certificate Authorities) during the process of validating a domain for an SSL Certificate. Have you recently made any account changes regarding an SSL Certificate (ie: enabling AutoSSL, installing an SSL Certificate, validating a domain)?

    I didn't notice this directory after creating an account. However, I did notice this directory, once I ran the AutoSSL function, with cPanel enabled. I hope this helps answer your question!

    Sincerely,
    Carlos
     
  3. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    334
    Likes Received:
    95
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    cPanelMichael likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, that folder is created by cPanel for use with the AutoSSL feature as part of the domain validation process.

    Thanks!
     
    carlose likes this.
  5. royce1054

    royce1054 Registered

    Joined:
    Aug 4, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    If i enable autoSSL for an existing site will add the .well-known folder right away or will it wait until cPanel updates are ran?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The AutoSSL check runs daily as part of the following cron job:

    Code:
    # cat  /etc/cron.d/cpanel_autossl
    32    3    *    *    *    root    /usr/local/cpanel/bin/autossl_check --all
    You could manually run the command if you want to initiate it right away:

    Code:
    /usr/local/cpanel/bin/autossl_check --all
    Keep in mind the AutoSSL feature processes the SSL certificate request immediately when a new account is created, and immediately when a new addon domain or subdomain is created.

    Thank you.
     
    carlose likes this.
Loading...

Share This Page