ACME overview
The way in which MagicServer communicates with the CA is called the ACME protocol. At a high level, this involves the following steps:1
MagicServer orders a certificate from the CA for the domain.
2
The CA responds with a list of challenges MagicServer can complete to prove that it controls the domain.
3
MagicServer selects and completes one of the challenges, and indicates to the CA that the challenge is ready to be verified.
4
The CA validates the challenge, and if successful, allows downloading a new certificate for the requested domain.
Challenges
The ACME server run by the CA asks MagicServer to prove that it controls the domain by completing one of a few types of challenges.HTTP-01
MagicServer always attempts the this challenge. This challenge is completed by responding to an HTTP request at/.well-known/acme-challenge/* with a specific value.
To do this, MagicServer temporarily serves an HTTP server on port 80.
