mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Accept domain.tld param for --force option #90
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nickpearson on GitHub (Apr 26, 2016).
Thanks for the awesome library. I'd like to be able to force-renew just one cert from the
domains.txtfile. Is it possible to add an optional parameter to the--forceoption to accomplish this?For example, if
domains.txtcontains:it would be nice if
./letsencrypt.sh --force test.netwould cause only thetest.netcert to renew (assuming theexample.comcert doesn't otherwise need to be renewed).If an optional parameter isn't possible, perhaps a new option like
--force-domain?I'm not an expert with bash but I'd be happy to give this a try and submit a PR if this is something you'd consider merging.
@lukas2511 commented on GitHub (Apr 27, 2016):
Current way to do this would be
letsencrypt.sh -c -d test.net -d www.test.net -x.Since I see this as more like an edge-case (you'd basically only need to do this in case you lost a private key) I don't think I'll add another option to make this easier.
@nickpearson commented on GitHub (Apr 27, 2016):
I understand, and thanks for showing the proper usage of the
-doption.I ended up solving this before your reply by just deleting the
certs/domain.tlddirectory for the cert I needed to force-renew and then runningletsencrypt.sh -cagain. (I needed to renew a certificate that was issued before Let's Encrypt fixed the issue that was causing certs not to work on any browser in Windows XP.) And you're right, this was an edge case.