Updated Stateless Mode (markdown)

master
neil 2017-02-06 21:46:53 +08:00
parent ce0d022a27
commit e72b14cc6d
1 changed files with 6 additions and 9 deletions

@ -22,25 +22,22 @@ Remember the the thumbprint in the last line:
http { http {
... ...
server { server {
... ...
location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" { location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" {
default_type text/plain; default_type text/plain;
return 200 "$1.6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd"; return 200 "$1.6fXAG9VyG0IahirPEU2ZerUtItW2DHzDzD9wZaEKpqd";
} }
... ...
} }
} }
``` ```
3. Ok, you can issue cert now. 3. Ok, you can issue cert now.
``` ```
acme.sh --issue -d example.com --stateless acme.sh --issue -d example.com --stateless
``` ```