Lurker News
Back to discussion

Comment by purerandomness

purerandomness1 reply#
A certificate can be issued for as many, or as few domains as you'd like.

Look at certbot's -d parameter, this does not have anything to do with nginx, apache, caddy or any other web server.

Tomte1 reply#
Is that also possible when using --nginx? Or only in "vanilla" mode?
purerandomness1 reply#
The nginx autoconfiguration plugin has no influence on how many domains the certificate you're requesting will be valid for.

Example: We run a SaaS on our client's domains, so for every client, we have to run `certbot -d subdomain.client1.com,client1.ourdomain.com,staging.client1.ourdomain.com,...`
That means we run certbot with ~4 domains (we include staging and other subdomains) for each client we have. This is highly automatable.
Whether you use nginx autoconfiguration or not is up to you.

Tomte3 replies#
I don't understand you.

Does the nginx autoconfiguration allow separate certificates, or do you simply say "don't use that"?

Continue this thread — 3 replies