Skip to content
English
  • There are no suggestions because the search field is empty.

What Are SSL Certificates, and How Does ACME Work?

Certificates, domain validation and the ACME protocol explained in plain terms

Introduction

SSL/TLS certificates are a fundamental part of secure communication on the internet. They protect websites, APIs, applications and services by encrypting data and verifying domain ownership. As certificate lifetimes keep getting shorter, manual management becomes increasingly difficult. This is why ACME automation has become the industry standard.

This article explains what certificates are, how ACME works, why automation matters and which ACME integrations are available for OpusDNS.

 

What Are SSL/TLS Certificates?

An SSL/TLS certificate is a digital certificate that secures communication between a client, such as a web browser, and a server. Certificates provide two important benefits:

  • Encryption: data between users and servers is encrypted and protected against interception.
  • Authentication: the certificate confirms that the website or service really belongs to the domain.

Without certificates, attackers could intercept sensitive information such as login credentials, personal data, payment data, API traffic or internal communication. Certificates are therefore essential for HTTPS websites, APIs, mail servers, Kubernetes ingress controllers and many other services. More on the difference between SSL and HTTPS: SSL vs. HTTPS.

 

Example: WordPress website with SSL/TLS

Imagine you run a WordPress website on example.com. Without a certificate, visitors connect over unencrypted HTTP, and attackers on the same network could intercept admin logins or contact form submissions.

With a certificate, the website uses HTTPS. The browser can verify that the website really belongs to example.com, and all communication is encrypted:

  • WordPress admin logins are protected
  • Contact forms and customer data are encrypted
  • Payment data is transmitted securely
  • Search engines such as Google prefer HTTPS websites

Without a valid certificate, browsers show warnings such as "Your connection is not private", which costs trust and drives visitors away.

 

Why Domain Validation Is Required

Before a certificate authority (CA) such as Let's Encrypt or Sectigo issues a certificate, the domain owner must prove control of the domain. This prevents attackers from getting certificates for domains they don't control. There are two common validation methods.

 

1. HTTP validation

The CA provides a token that must be placed on the web server under a predefined path, for example:

https://example.com/.well-known/acme-challenge/<token>

The CA checks whether the token is reachable. If it is, the certificate is issued. This method is common for traditional web servers.

 

2. DNS validation

The CA asks for a specific TXT record in the DNS zone of the domain, for example:

_acme-challenge.example.com TXT "<validation-token>"

The CA then checks the record with DNS lookups. DNS validation:

  • works without a running web server
  • supports wildcard certificates
  • is ideal for automation
  • is suitable for internal services and Kubernetes

ACME integrations automate this through the DNS provider's API:

  1. An API key for the DNS provider is configured.
  2. The ACME client requests a certificate.
  3. The CA provides the required TXT record.
  4. The integration creates the DNS record automatically.
  5. The CA validates domain ownership.
  6. The certificate is issued.
  7. The temporary validation record is removed automatically.

 

What Is ACME?

ACME stands for Automatic Certificate Management Environment. It is an open protocol that standardizes how certificates are requested, validated, issued and renewed.

ACME-compatible certificate authorities include Let's Encrypt, Sectigo, ZeroSSL and DigiCert.

Without ACME, administrators would have to create certificate signing requests, perform validations, download, install and renew certificates by hand. ACME automates this entire lifecycle.

 

Why ACME Automation Is Important

 

Certificate lifetimes are getting shorter

In the past, SSL certificates were often valid for up to two years. Under the CA/Browser Forum rules, the maximum lifetime of publicly trusted certificates is being reduced step by step:

  • Until 15 March 2026: up to 398 days
  • Since 15 March 2026: up to 200 days
  • From 15 March 2027: up to 100 days
  • From 15 March 2029: up to 47 days

Certificates must therefore be renewed several times a year for every domain and service. At scale, this is only practical with automation.

 

Better security through frequent renewal

Shorter lifetimes improve security. As with passwords, the longer a credential stays unchanged, the higher the risk of misuse. If attackers obtain a certificate and its private key, they could impersonate a service, intercept encrypted traffic or trick users into submitting sensitive data. Automated renewal limits this risk by rotating certificates regularly.

 

Before You Start: API Key

All OpusDNS ACME integrations below use an OpusDNS API key. Create one in the dashboard under Developer > API Credentials, see Creating API Credentials. The domain's DNS zone must be hosted at OpusDNS.

Note: you don't need ACME for OpusDNS domain forwards and parked domains. OpusDNS provides certificates for them automatically: for parked domains, and for domain forward rules with source protocol HTTPS (not yet for wildcard hostnames).

 

ACME Integration Options with OpusDNS

 

Kubernetes (cert-manager)

For Kubernetes clusters, the OpusDNS webhook for cert-manager requests and renews certificates inside the cluster. Ideal for cloud-native environments and automated ingress TLS.

Kubernetes ACME Integration with OpusDNS

 

lego

lego is an ACME client and library written in Go. It is used on the command line and in Go applications or custom automation.

LEGO ACME Client Integration with OpusDNS

 

Certbot

Certbot is one of the most widely used ACME clients. It is written in Python, runs on the command line and is common on traditional servers and virtual machines.

Certbot ACME Integration with OpusDNS

 

acme.sh

acme.sh is a lightweight ACME client written as a shell script. It has minimal dependencies and works well in simple or restricted environments.

acme.sh Integration with OpusDNS

 

Conclusion

SSL/TLS certificates are essential for secure communication and domain authentication. As certificate lifetimes shrink, manual management becomes error-prone. ACME automates validation, issuance and renewal. With DNS validation through the OpusDNS API and integrations for Kubernetes, lego, Certbot and acme.sh, you can manage certificates securely at scale.

OpusDNS GitHub banner: Deploy faster with our official tools on GitHub, with the button View Our GitHub