Join the community today
Register Now

well-know directory

Discussion in 'System Administration' started by upgrade81, Dec 2, 2018.

  1. upgrade81

    upgrade81 Member

    296
    17
    18
    Sep 5, 2016
    CH
    Ratings:
    +30
    Local Time:
    8:18 AM
    1.17
    10.3
    Good morning, I need to put a file in the well-know directory. the file to insert is the classic pubvendors.js related to the management of a cmp for GDPR.

    The directory does not exist in my vhost but in any case it is used for Letsencrypt, can you give me some advice to do this?

     
  2. upgrade81

    upgrade81 Member

    296
    17
    18
    Sep 5, 2016
    CH
    Ratings:
    +30
    Local Time:
    8:18 AM
    1.17
    10.3
    hi, if I manually create the well-know directory, could I create problems with the periodic verification of lets encrypt?
     
  3. wmtech

    wmtech Active Member

    187
    44
    28
    Jul 22, 2017
    Ratings:
    +139
    Local Time:
    8:18 AM
    No. well-known can be used for. lot of things...
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    yeah .well-known can be used for non-letsencrypt stuff too, problem is acme.sh client that Centmin Mod uses will usually remove .well-known directory after letsencrypt ssl certificate issuance, so it will wipe out whatever you manually put in that directory.
     
  5. wmtech

    wmtech Active Member

    187
    44
    28
    Jul 22, 2017
    Ratings:
    +139
    Local Time:
    8:18 AM
    That should be considered a bug then. It should only remove the .well-known/acme-challenge directory and leave the .well-known directory alone if it existed before the script runs.
     
  6. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:18 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    To be honest haven't tested if that is the case or not myself if .well-known already existed.
     
  7. upgrade81

    upgrade81 Member

    296
    17
    18
    Sep 5, 2016
    CH
    Ratings:
    +30
    Local Time:
    8:18 AM
    1.17
    10.3
    ok, the problem is that I need to place the pubvendor.js file in that directory and it must stay there.