jekyll-gitlab-letsencrypt icon indicating copy to clipboard operation
jekyll-gitlab-letsencrypt copied to clipboard

Multiple Domains

Open ANGOmarcello opened this issue 7 years ago • 6 comments

Hey there,

Is it currently possible to generate multiple certificates at once? For example if you use some subdomains or simply want to support the www. prefix.

Thanks in advance.

Greetings, Angelo

ANGOmarcello avatar Feb 02 '18 17:02 ANGOmarcello

Hmm, that would be nice, but probably not something I'll implement myself... would gladly accept PRs for it! As long as the config for single-domain users is the same, making the extra domains optional.

JustinAiken avatar Feb 02 '18 18:02 JustinAiken

https://laravel-news.com/lets-encrypt-wildcard-ssl-certificates-are-here

Any luck with this

bsde1245 avatar Mar 17 '18 11:03 bsde1245

We'll have to wait until acme-client gets updated to use the wildcard stuff new in acme 2.0: https://github.com/unixcharles/acme-client/issues/126

JustinAiken avatar Mar 17 '18 16:03 JustinAiken

Okey

bsde1245 avatar Mar 17 '18 18:03 bsde1245

acme-client is updated! Haven't even had time to look yet, but now it's feasible to register wildcards...

JustinAiken avatar Jun 11 '18 22:06 JustinAiken

Since this is of interest to me as well then I took a quick look. From a code perspective, the two biggest changes with acme-client 2.0 appear to be a backwards-incompatible change for creating the acme-client as well as to support a set of domains instead of a simple string. I think that these points are more or less straight-forward to resolve with a bit of elbow grease...

However, the bigger issue might be that wildcard certificates currently require a DNS challenge, which I think is not trivial to automate as it depends on interfacing with the DNS provider of choice for a given domain.

daehlith avatar Dec 08 '18 12:12 daehlith