Results 1 to 3 of 3

Thread: More specific httpd-alias.conf .well-know alias for letsencrypt?

  1. #1
    Join Date
    Oct 2013
    Location
    The Netherlands
    Posts
    50

    More specific httpd-alias.conf .well-know alias for letsencrypt?

    To be able to use the directadmin.conf letsencrypt=1 setting, a generic alias is put into httpd-alias.conf:

    Code:
    Alias /.well-known "/var/www/html/.well-known/"
    Currently, letsencrypt more specificly only uses the .well-known/acme-challenge/ url and the .well-known/ directory is also used for eg. ownCloud (.well-known/carddav or .well-known/caldav etc.). With the generic .well-known/ alias ownCloud is partly broken.

    Is it possible to change the current alias to
    Code:
    Alias /.well-known/acme-challenge "/var/www/html/.well-known/acme-challenge/"
    This should still allow for letsencrypt=1 to function while also allowing other .well-known urls.

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,704
    Hello,

    It is already. Try

    Code:
    ./build update
    ./build rewrite_confs
    It should be:

    Code:
    # head -1 /etc/httpd/conf/extra/httpd-alias.conf
    Alias /.well-known/acme-challenge /var/www/html/.well-known/acme-challenge

  3. #3
    Join Date
    Oct 2013
    Location
    The Netherlands
    Posts
    50
    Aha!

    The file /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-alias.conf still has Alias /.well-known "/var/www/html/.well-known/". I have an updated httpd-alias.conf in /usr/local/directadmin/custombuild/custom/. I've modified it accordingly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •