Multi Issuers and fallback ordering

This was just asked:

Configuring multiple issuers is the same as before when you only configured one, except that you can now have more than one. (This PR has an example: caddytls: Support multiple issuers by mholt · Pull Request #3862 · caddyserver/caddy · GitHub)

Our wiki article explains multiple ways to configure ZeroSSL:

An API key is not required. The syntax indicates it is optional: tls (Caddyfile directive) — Caddy Documentation

The many linked resources should help you out, including the syntax for configuring issuers (I assume you’re using the Caddyfile; if not, you can find similar help in our JSON structure docs).

Something like this:

tls {
    issuer acme {
        dir https://api.buypass.com/acme/directory
    }
    issuer zerossl  # could alternatively use "issuer acme ..." with ZeroSSL directory endpoint
    issuer acme # current default is LE; hard-code dir endpoint to force that
}

In an upcoming patch release (probably) you’ll be able to roll that first one into a single line: issuer acme https://api.buypass.com/acme/directory.