Invalid response from http.../.well-known/acme-challenge 404

Discussion in 'Installation/Configuration' started by JPFOL, Feb 22, 2023.

  1. JPFOL

    JPFOL New Member

    I am having this error since a while in acme.log.
    I tryied to dig it but did not founf how to solve it.
    Invalid response from http 404
    Even creating the file in /usr/local/ispconfig/interface/acme/.well-known/acme-challenge file with ispconfig ownership, is still not accessible with direct https url.
    Site is redirected thru htaccess to one witch works fine.
    Thanks to provide me with some trics.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's the likely cause of the problem. You must change your redirect to exclude all paths starting with .well-known/acme-challenge/ in that website from being redirected.
  3. JPFOL

    JPFOL New Member

    I did place a "RewriteCond %{REQUEST_URI} !(well-known) [NC]" in the htaccess.
    Hope the 301 redirection will be cleaned soon on letsencrypt server.
    Strange this setup is in place since years and just interfere since few weeks. Any update could be responsible for this ?
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    It could be that the vhost template has changed and this affects you, or you changed something but that did not propagate until the update was done and that caused recreating the vhost file.

Share This Page