mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
support/usage for "--must-staple --redirect --hsts --uir" cert options? #175
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 @ghost on GitHub (Jan 1, 2017).
I currently use my own
certbot-auto certonly ...process/scripts to get my LE certs via standalone webserver mode.I currently require/pass arguments to certbot-auto that include
I'd like to switch to dns-01 challenge; I'm revisiting 'dehydrated' script.
In its options I find only
and in "docs/per-certificate-config.md",
(1) is dehydrated's cmd-lin "--ocsp" option equivalent to
? or, is the "OCSP_MUST_STAPLE" config additionally required?
(2) does dehydrated support any of
and, if so, what's the syntax/usage?
@txr13 commented on GitHub (Jan 1, 2017):
--ocsp / OCSP_MUST_STAPLE is the dehydrated equivalent for --must-staple. (Setting --ocsp on the command line is equivalent to setting OCSP_MUST_STAPLE in a config file.)
--staple-ocsp, --redirect, --hsts, and --uir look like features not implemented by dehydrated. This is largely because dehydrated is a script, not a webserver. If you need your webserver to implement these options, you should configure it accordingly. That would be outside the scope of dehydrated itself.
Dehydrated does support the use of hook scripts (and in fact requires them for handling dns-01 challenges). If you needed to configure a webserver during (or after) certificate renewal, you may be able to do so with a hook script. But if you're going to switch to dns-01 challenges, I don't think you'd need the other flags (besides OCSP_MUST_STAPLE). At least not in dehydrated.
@lukas2511 commented on GitHub (Jan 6, 2017):
dehydrated doesn't configure your webserver for you, it only tries to get certificates signed, like @txr13 already said.