Working Wildcard nginx config?


#1

Would anyone care to share the syntax to issue a wildcard cert on nginx?

Thanks so much


#2

Hi @cmatera,

Issuing wildcard certificates depends on your DNS setup, for example whether you can update DNS records via an API. This is different from issuing non-wildcard certificates because wildcard certificates from Let’s Encrypt require setting DNS TXT records to prove your control over the domain name (not just creating a file on your web server).

So, who is your DNS provider and what kind of access do you have to create records in your DNS zone?


#3

Ahh makes sense - I use google dns and am familiar with creating records


#4

That’s Google Cloud DNS, not Google Domains, right?


#5

Google Domains actually - does google domains not support an API?


#6

I’m afraid not.

Thank you


#7

Right, we’ve had a number of previous forum threads showing that there’s no way to automate wildcard issuance on Google Domains because of the lack of an API. I think you can get wildcards manually, e.g. with certbot --manual and following the directions to create TXT records, but you’ll have to repeat that manual process in order to renew the certificates before they expire!


#8

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.