n3wt0n / AzureWebAppSSLManager

Acquires and manages free SSL certificates for Azure Web App and Azure Functions applications.
MIT License
76 stars 28 forks source link

Support SAN Certs #6

Open bbakermmc opened 5 years ago

bbakermmc commented 5 years ago

Can we add CSV/Array of URL to the hostnames so we can generate 1 cert for multiple sites IE: .dev.site.com .stage.site.com

n3wt0n commented 5 years ago

Can we add CSV/Array of URL to the hostnames so we can generate 1 cert for multiple sites IE: .dev.site.com .stage.site.com

Not sure I got this.

Can you expand your ask?

bbakermmc commented 5 years ago

@n3wt0n There are limitations on the number API calls you can make to LetsEncrypt. They recommend making SAN certs for groups of sub domains. In our case we have a bunch of subdomains on specific domains, so we can just create 1 cert that has the up to 100 domains and then apply that 1 cert to the multiple sites. Looks like you just pass the list of domains in the hostnames.

bbakermmc commented 5 years ago

The SAN Cert Option should then also be able to apply the generated cert to a bunch of services/slots

n3wt0n commented 5 years ago

@n3wt0n There are limitations on the number API calls you can make to LetsEncrypt. They recommend making SAN certs for groups of sub domains.

I wasn't aware of this. Let me check and let's see what to do.