Repository navigation
ACME HTTP 01 Challenge
The ACME Responder supports domain validation using HTTP-01 challenge as described in RFC 8555.
+-------------------+ +-------------------+
| |--(1) Request Order-->| |
| ACME Client | | ACME Server |
| (e.g., Certbot) |<-(2) Challenge Token-| (e.g., CA) |
+-------------------+ +-------------------+
| |
(3) Write Token File |
v |
+-------------------+ |
| Web Server |<-------(4) Verify HTTP-01------+
| (e.g., Nginx/IIS) | (Port 80)
+-------------------+
|
(5) Deploy SSL/TLS Cert
v
[Secured Web Traffic]
-
The ACME client requests a certificate for a domain from the ACME responder.
-
The ACME responder generates a token and responds with a HTTP-01 challenge.
-
The ACME client uses the token and the account key to create a key authorization.
-
The ACME client configures a web server that supports HTTP protocol and stores the key authorization.
-
The ACME client notifies the ACME responder that it is ready for validation.
-
The ACME responder connects to the web server using HTTP protocol and retrieves the key authorization.
-
The ACME responder validates the key authorization.
-
The ACME responder issues an actual certificate.
-
The ACME client retrieves the actual certificate.
To enroll a certificate with automatic HTTP-01 validation, execute the following command:
$ certbot certonly --standalone \
--server http://$HOSTNAME:8080/acme/directory \
-d pki.example.com \
--preferred-challenges httpTo enroll a certificate with manual HTTP-01 validation, execute the following command:
$ certbot certonly --manual \
--server http://$HOSTNAME:8080/acme/directory \
-d pki.example.com \
--preferred-challenges httpConfigure the challenge response on a web server as instructed by certbot, then check with the following command:
$ curl http://pki.example.com/.well-known/acme-challenge/<token>Once the challenge response is configured properly, complete the enrollment using certbot.
|
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |