Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#444·lego

Add "stateless" challenge mode support

Author: NyoroonCreated Oct 24, 2017Updated Aug 10, 2026

So we can use http-01 challenge without writing any files to webroot, only requirement is possibility to export account fingerprint to put it in webserver config, for example:

http {
...
  server {
...
    location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" {
      default_type text/plain;
      return 200 "$1.ACCOUNT_FINGERPRINT";
    }
...
  }
}

https://github.com/Neilpang/acme.sh/wiki/Stateless-Mode

Source: go-acme/lego

View original on GitHubView discussion on GitHub