How-To: Enable ACME for Private PKI
Introduction - What is ACME?
ACME (Automatic Certificate Management Environment) is a communication protocol for automating certificate lifecycle between certificate authorities and servers. This automation dramatically reduces the cost of certificate lifecycle and prevents costly outages.
Web servers (or any other software that needs certificates) can use ACME to automatically request, renew, and manage SSL/TLS certificates from a certificate authority. They prove ownership of the domain by responding to challenges issued by the CA, and once validated, the CA issues the certificate. This process can be automated to ensure that certificates are always up to date, reducing the risk of expired certificates and improving security.
How to Use ACME with an EZCA Certificate Authority
EZCA supports the ACME protocol, allowing you to automate certificate management for your private PKI. This allows you to streamline the process of issuing and renewing certificates for your internal applications and services.
Since ACME depends on the validation of domain ownership for your internal domains, an agent has to be deployed within your local network. This ensures that the ACME challenges can be properly validated by the CA, allowing for seamless certificate issuance and renewal.
Setting up ACME for your private CA takes three steps:
- Register your ACME agent in EZCA.
- Run the ACME agent in your network, in Docker on Linux (recommended) or in IIS on Windows Server.
- Point your ACME clients to the agent.
Should I Run the EZCA ACME Agent in Docker or on Windows Server?
We recommend Docker on Linux for new ACME agents. EZCA builds the agent’s certificates and its Docker Compose file for you, so setup takes a few commands, and the agent renews all of its certificates on its own. Choose Windows Server if your organization can’t run Linux servers or Docker.
| Docker on Linux (recommended) | IIS on Windows Server | |
|---|---|---|
| Server | Any Linux server or VM with Docker, x64 or ARM64 | Windows Server with IIS, Web Deploy, and the .NET Hosting Bundle |
| Agent’s authentication certificate | Created by EZCA in the Docker bundle | Requested by you with a CSR and installed in the Local Machine store |
| Agent’s HTTPS certificate | Created by EZCA in the Docker bundle | Provided and installed by you |
| Certificate renewal | Both certificates, automatically, through the container’s own health check every 5 minutes | The authentication certificate, when EZCA or a scheduled task calls the agent’s health API |