Back to Lego

CA servers

docs/content/advanced/zz_gen_caservers.md

5.0.22.2 KB
Original Source

This page describes the usage of CA servers (ACME servers).

<!--more-->

{{% notice note %}} Any CA server that follow RFC 8555 can be used with lego. {{% /notice %}}

Let's Encrypt ACME server

lego defaults to communicating with the production Let's Encrypt ACME server.

If you'd like to test something without issuing real certificates, consider using the staging endpoint instead:

bash
lego run --server='letsencrypt-staging'

CA Server short-codes

To ease the usage of the CA server in most of cases, we provide a short-code for each already known CA server.

NameCodeDirectory URL
Actalisactalishttps://acme-api.actalis.com/acme/directory
Digicertdigicerthttps://one.digicert.com/mpki/api/v1/acme/v2/directory
FreeSSLfreesslhttps://acmepro.freessl.cn/v2/DV
GlobalSignglobalsignhttps://emea.acme.atlas.globalsign.com/directory
Google Trustgoogletrusthttps://dv.acme-v02.api.pki.goog/directory
Google Trust staginggoogletrust-staginghttps://dv.acme-v02.test-api.pki.goog/directory
Let's Encryptletsencrypthttps://acme-v02.api.letsencrypt.org/directory
Let's Encrypt stagingletsencrypt-staginghttps://acme-staging-v02.api.letsencrypt.org/directory
LiteSSLlitesslhttps://acme.litessl.com/acme/v2/directory
PeeringHubpeeringhubhttps://stica.peeringhub.io/acme
SSL.com ECDSAsslcomecchttps://acme.ssl.com/sslcom-dv-ecc
SSL.com RSAsslcomrsahttps://acme.ssl.com/sslcom-dv-rsa
Sectigo DV (Domain Validation)sectigohttps://acme.sectigo.com/v2/DV
Sectigo EV (Extended Validation)sectigoevhttps://acme.sectigo.com/v2/EV
Sectigo OV (Organization Validation)sectigoovhttps://acme.sectigo.com/v2/OV
ZeroSSLzerosslhttps://acme.zerossl.com/v2/DV90

ZeroSSL

lego supports three different ways to authenticate with ZeroSSL.

  1. Access key: if the environment variable ZERO_SSL_ACCESS_KEY is set.
  2. Email: if the email address is set and the environment variable ZERO_SSL_ACCESS_KEY is not set.
  3. External Account Binding (EAB): if none of the above elements are defined.