]>
git.ipfire.org Git - thirdparty/dehydrated.git/log
Lukas Schauer [Mon, 29 Mar 2021 17:14:03 +0000 (19:14 +0200)]
make shellcheck happy again
Stefaan Ghysels [Mon, 26 Aug 2019 08:28:01 +0000 (10:28 +0200)]
Only check existing certs when necessary
Simon Deziel [Tue, 8 Jun 2021 15:13:04 +0000 (11:13 -0400)]
Remove debug echo in command_cleanup()
Signed-off-by: Simon Deziel <simon@sdeziel.info>
Elan Ruusamäe [Wed, 22 Sep 2021 05:22:55 +0000 (08:22 +0300)]
Use consistent indent in hook.sh
Brian Bennett [Mon, 20 Sep 2021 22:25:18 +0000 (15:25 -0700)]
Better handling around grep/awk
Joao Morais [Sun, 17 Oct 2021 12:26:46 +0000 (09:26 -0300)]
fix command_version on Darwin/macOS 11
Current output of `uname` on Darwin/macOS 11 is only `Darwin`, which
breaks the premisse used in `command_version()`. This update adds
`Darwin` alongside `BSD`.
27o [Mon, 12 Apr 2021 06:47:22 +0000 (08:47 +0200)]
ensure newline before new section in openssl.cnf
openssl.cnf may not end with a newline. The section [SAN] will then not be found as it is added to the last line of openssl.cnf.
Lukas Schauer [Sun, 18 Apr 2021 01:48:47 +0000 (03:48 +0200)]
expand documentation on using letsencrypt staging ca
Nick [Thu, 1 Apr 2021 20:49:55 +0000 (16:49 -0400)]
Update staging.md to use ACMEv2 server (closes #812)
letsencrypt is phasing out the v1 server:
```
+ ERROR: An error occurred while sending get-request to https://acme-staging.api.letsencrypt.org/directory (Status 403)
Details:
HTTP/2 403
server: nginx
date: Thu, 01 Apr 2021 20:48:17 GMT
content-type: application/problem+json
content-length: 189
etag: "
600b3710 -bd"
{
"type": "urn:acme:error:serverInternal",
"detail": "ACMEv1 Brownout in Progress. ACMEv1 will fully turn off on June 1, 2021. Check https://letsencrypt.status.io/ for more details."
}
```
Lukas Schauer [Fri, 16 Apr 2021 12:32:05 +0000 (14:32 +0200)]
command_sign_csr: redirect fds after init_system (fixes #816)
Lukas Schauer [Mon, 29 Mar 2021 18:20:52 +0000 (20:20 +0200)]
remove some dots :)
Marcus Rückert [Mon, 29 Mar 2021 18:15:32 +0000 (20:15 +0200)]
Add more examples to show case how to create certs
e.g. with different key algorithms
Lukas Schauer [Sun, 21 Mar 2021 19:51:10 +0000 (20:51 +0100)]
generic support for weird curl versions with lower-case headers and no whitespace
joele89 [Mon, 22 Feb 2021 08:53:55 +0000 (19:53 +1100)]
Updating nonce handler for newer versions of F5
Glenn Strauss [Mon, 22 Feb 2021 20:46:58 +0000 (15:46 -0500)]
document using -t tls-alpn-01 with lighttpd
Glenn Strauss [Mon, 1 Feb 2021 09:41:17 +0000 (04:41 -0500)]
add -t tls-alpn-01 to command line help
Michel Lespinasse [Tue, 2 Feb 2021 03:42:09 +0000 (19:42 -0800)]
Per-certificate config fixes
- Ensure that all per-certificate settings are saved and restored in
store_configvars() and reset_configvars() - that's what makes them
per-certificate in the first place...
- Add OCSP_FETCH and OCSP_DAYS in the documented list of supported
per-certificate configs, since the code does allow these.
Nathan Felton [Tue, 5 Jan 2021 19:34:16 +0000 (14:34 -0500)]
Support for LibreSSL version of openssl on macOS
Lukas Schauer [Thu, 18 Feb 2021 15:46:06 +0000 (16:46 +0100)]
update copyright year
Lukas Schauer [Sat, 12 Dec 2020 02:12:13 +0000 (03:12 +0100)]
Fixed small unassigned variable issue
Lukas Schauer [Sat, 12 Dec 2020 02:01:47 +0000 (03:01 +0100)]
Do not revalidate authorizations on forced renewal
This commit introduces a new cli argument `--force-validation` which,
when used in combination with `--force` ignores valid domain
authorizations and forces a revalidation.
This has been implemented since at least LE seems to have changed some
behavior on valid authorizations. Only the previously validated
authorization-type is reusable, causing dehydrated to error out when
changing from recently validated authorization types while still trying
to force-renew certificates for whatever reason (e.g. changing algorithms).
Lukas Schauer [Fri, 11 Dec 2020 17:02:51 +0000 (18:02 +0100)]
fix CN extraction for older openssl versions
Lukas Schauer [Thu, 10 Dec 2020 15:56:13 +0000 (16:56 +0100)]
bump changelog for new draft releases
Lukas Schauer [Thu, 10 Dec 2020 15:54:26 +0000 (16:54 +0100)]
preparing for release 0.7.0
Lukas Schauer [Thu, 10 Dec 2020 15:32:02 +0000 (16:32 +0100)]
use normal error behaviour for failing http requests (fixes #782)
Lukas Schauer [Thu, 10 Dec 2020 15:07:28 +0000 (16:07 +0100)]
allow to set domains.txt as cli argument (fixes #678)
Lukas Schauer [Thu, 10 Dec 2020 15:01:54 +0000 (16:01 +0100)]
use secp384r1 as default (instead of rsa, fixes #651)
Lukas Schauer [Thu, 10 Dec 2020 15:01:08 +0000 (16:01 +0100)]
use secp384r1 as default (instead of rsa, fixes #651)
Raphael Hoegger [Wed, 15 Aug 2018 09:48:20 +0000 (11:48 +0200)]
adding new CLI Command (--cleanupdelete / -gcd) to cleanup+delete (instead of just moving to /archive) (closes #587)
Lukas Schauer [Thu, 10 Dec 2020 13:28:30 +0000 (14:28 +0100)]
allow setting OCSP_FETCH and OCSP_DAYS per certificate config (closes #602, thx @bjacke)
Lukas Schauer [Thu, 10 Dec 2020 13:15:07 +0000 (14:15 +0100)]
cleanup: also remove dangling symlinks
Arnout Vandecappelle (Essensium/Mind) [Fri, 30 Aug 2019 15:02:56 +0000 (17:02 +0200)]
cleanup: also do cleanup if symlink is broken (closes #667)
The cleanup command skips filetypes for which the symlink is broken or
doesn't exist. However, if dehydrated fails, we may end up in exactly
the situation that the symlink doesn't exist (yet). If dehydrated fails
repeatedly, we may end up with a lot of old cert.csr, cert.pem and
privkey.pem files, so we really want to be able to clean them up.
Remove all files if the symlink is broken/missing, instead of skipping
those files.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Georg Altmann [Sat, 15 Aug 2020 12:53:04 +0000 (14:53 +0200)]
make alpn-validation certificates and keys group readable (closes #754, fixes #753)
Daniel Molkentin [Tue, 1 Dec 2020 18:51:06 +0000 (19:51 +0100)]
Fix OCSP_FETCH with libressl
libressl did not pick up the implicit host header patches
of OpenSSL 1.1 even in version 3 and thus exhibits the same
behavior as OpenSSL 1.0.
Patch by Chen, Chih-Chia <pigfoot@gmail.com>
Fixes #778
Lukas Schauer [Wed, 9 Dec 2020 19:41:17 +0000 (20:41 +0100)]
remove quotes from per-cert-config vars to allow for spaces (fixes #789, closes #791)
Lukas Schauer [Wed, 9 Dec 2020 18:38:27 +0000 (19:38 +0100)]
changed method for parsing issuer cn, fixing compatibility with some openssl versions
Lukas Schauer [Sat, 21 Nov 2020 15:19:08 +0000 (16:19 +0100)]
show available options if preferred chain is not found
Lukas Schauer [Fri, 20 Nov 2020 16:08:57 +0000 (17:08 +0100)]
fix spaces in sudo arguments
Lukas Schauer [Fri, 13 Nov 2020 19:49:18 +0000 (20:49 +0100)]
added display-terms to changelog+readme
Daniel Molkentin [Mon, 28 Sep 2020 14:44:36 +0000 (16:44 +0200)]
add --display-terms to display the URL for the current ToS
Implements #649
Lukas Schauer [Fri, 13 Nov 2020 19:36:51 +0000 (20:36 +0100)]
added support for requesting preferred-chain instead of default chain
Lukas Schauer [Wed, 30 Sep 2020 09:35:06 +0000 (11:35 +0200)]
one more \s -> [[:space:]] replacement
Jarkko Oranen [Mon, 7 Sep 2020 17:47:30 +0000 (20:47 +0300)]
Replace \s with [[:space:]] for compatibility
Daniel Molkentin [Sun, 27 Sep 2020 22:13:39 +0000 (00:13 +0200)]
Complain about deactivated accounts
Daniel Molkentin [Tue, 1 Sep 2020 22:49:17 +0000 (00:49 +0200)]
implement account deactivation through --deactivate parameter
This is an updated version of https://github.com/lukas2511/dehydrated/files/
2641548 /dehydrated_add_deactivate_command.diff.txt
Fixes #216
Daniel Molkentin [Tue, 1 Sep 2020 22:00:15 +0000 (00:00 +0200)]
Don't require sudo before we know we really need it
Fixes #665
Daniel Molkentin [Tue, 1 Sep 2020 21:43:00 +0000 (23:43 +0200)]
Do not fail silently with invalid sudo user/group
Daniel Molkentin [Thu, 17 Sep 2020 15:09:09 +0000 (17:09 +0200)]
add more CAs, now that support for CA presets is implemented
- letsencrypt-test (LE staging CA)
- buypass (verified to work with the new json parsing, see #653)
- buypass-test analogously
Daniel Molkentin [Thu, 17 Sep 2020 22:15:04 +0000 (00:15 +0200)]
fix OS name detection
before applying heuristics, use PRETTY_NAME from os-release(3),
which reliably exists on all common linux distributions.
keep the /etc/issue parsing as fallback.
Lukas Schauer [Tue, 15 Sep 2020 15:27:24 +0000 (17:27 +0200)]
tmpfix: log error if acmev1 validation is denied + fix unbound variable
Lukas Schauer [Mon, 14 Sep 2020 16:59:41 +0000 (18:59 +0200)]
eab: use hex key instead of binary (fixes issue with nullbytes)
Lukas Schauer [Mon, 14 Sep 2020 16:31:24 +0000 (18:31 +0200)]
do not fail on challenge in "processing" state (fixes #759)
Lukas Schauer [Mon, 14 Sep 2020 16:28:05 +0000 (18:28 +0200)]
fixed bad typo..
Lukas Schauer [Mon, 14 Sep 2020 16:24:01 +0000 (18:24 +0200)]
readme+changelog
Lukas Schauer [Mon, 14 Sep 2020 16:22:36 +0000 (18:22 +0200)]
EAB + ZeroSSL support
Lukas Schauer [Mon, 14 Sep 2020 16:19:08 +0000 (18:19 +0200)]
read boolean values from json
Lukas Schauer [Mon, 14 Sep 2020 16:18:35 +0000 (18:18 +0200)]
removed accidental shebang
Lukas Schauer [Mon, 14 Sep 2020 14:37:10 +0000 (16:37 +0200)]
use presets for some CAs instead of requiring full urls
Jason Francis [Thu, 14 May 2020 18:45:54 +0000 (14:45 -0400)]
fix tls-alpn-01 configuration example
Lukas Schauer [Sun, 5 Jul 2020 20:29:57 +0000 (22:29 +0200)]
fixed some typos (fixes #725, fixes #741, fixes #740)
j-ed [Tue, 30 Jun 2020 10:56:19 +0000 (12:56 +0200)]
removed tmp file in 'generate_alpn_certificate' function
Made sure that the temp file will be removed at the end of the function.
Lukas Schauer [Sun, 5 Jul 2020 02:13:06 +0000 (04:13 +0200)]
fixed zsh compatibility
Lukas Schauer [Sat, 4 Jul 2020 19:51:32 +0000 (21:51 +0200)]
merged temporary json.sh into dehydrated, fixed authorization "pending" loop
Lukas Schauer [Sat, 4 Jul 2020 19:36:23 +0000 (21:36 +0200)]
experimental json.sh support
Krayon [Fri, 13 Mar 2020 21:25:40 +0000 (08:25 +1100)]
Use existing curl version var
Signed-off-by: Krayon <krayon.git@qdnx.org>
Lukas Schauer [Tue, 28 Apr 2020 19:29:24 +0000 (21:29 +0200)]
removed instructions for importing from "official" client (certbot) as it probably doesn't work anymore and there isn't really much use for it anyway
Lukas Schauer [Tue, 28 Apr 2020 19:27:49 +0000 (21:27 +0200)]
fix link to wiki in documentation (fixes #690)
Lukas Schauer [Tue, 28 Apr 2020 19:25:08 +0000 (21:25 +0200)]
reworked dependency check and moved it up a bit in code (fixes #715, resolves #717 again...)
Lukas Schauer [Tue, 28 Apr 2020 19:10:14 +0000 (21:10 +0200)]
added changelog
Lukas Schauer [Tue, 28 Apr 2020 19:00:47 +0000 (21:00 +0200)]
added note about newline encoded in accounts directory hashes (resolves #730)
Lukas Schauer [Tue, 28 Apr 2020 18:58:46 +0000 (20:58 +0200)]
temporarily store raw curl version output to fix check (fixes #717)
Lukas Schauer [Tue, 28 Apr 2020 18:15:11 +0000 (20:15 +0200)]
store errorcode while using KEEP_GOING (fixes #659)
Lukas Schauer [Tue, 28 Apr 2020 16:37:49 +0000 (18:37 +0200)]
report issues with hook scripts instead of silently exiting (fixes #733, fixes #686)
Lukas Schauer [Tue, 28 Apr 2020 16:24:26 +0000 (18:24 +0200)]
skip exit_hook in _exiterr if KEEP_GOING is enabled (fixes #686)
Rogdham [Mon, 30 Mar 2020 20:14:07 +0000 (22:14 +0200)]
Move from account ID to account URL
We store the account URL on account creation in the account_id.json file.
When reading the file, if the attribute is missing, we retrieve the account URL
from the CA ( https://tools.ietf.org/html/rfc8555#section-7.3.1 ) and edit the
file.
Per https://tools.ietf.org/html/rfc8555#section-7.3
> The server returns this account object in a 201 (Created) response, with the
> account URL in a Location header field. The account URL is used as the "kid"
> value in the JWS authenticating subsequent requests by this account (see
> Section 6.2). The account URL is also used for requests for management
> actions on this account, as described below.
Lukas Schauer [Thu, 2 Apr 2020 10:44:40 +0000 (12:44 +0200)]
redirect output of cert expiry check (fixes #713)
Lukas Schauer [Thu, 2 Apr 2020 10:23:09 +0000 (12:23 +0200)]
fixed typo (closes #712)
Lukas Schauer [Thu, 2 Apr 2020 10:15:17 +0000 (12:15 +0200)]
only show order processing/pending message when waiting
Rogdham [Wed, 1 Apr 2020 07:03:20 +0000 (09:03 +0200)]
Don't assume order status to be valid
Per https://tools.ietf.org/html/rfc8555#section-7.1.3
> status (required, string): The status of this order. Possible values are
> "pending", "ready", "processing", "valid", and "invalid". See Section 7.1.6.
Rogdham [Mon, 30 Mar 2020 19:26:00 +0000 (21:26 +0200)]
Fix challenge response POST body in ACMEv2
Per https://tools.ietf.org/html/rfc8555#section-7.5.1
> The client indicates to the server that it is ready for the challenge
> validation by sending an empty JSON body ("{}") carried in a POST
> request to the challenge URL (not the authorization URL).
Lukas Schauer [Thu, 30 Jan 2020 21:51:25 +0000 (22:51 +0100)]
updated notice about move
Lukas Schauer [Thu, 30 Jan 2020 00:45:17 +0000 (01:45 +0100)]
added note about moving the repository
Lukas Schauer [Mon, 11 Nov 2019 21:45:23 +0000 (22:45 +0100)]
added funding.yml
Lukas Schauer [Wed, 9 Oct 2019 00:05:54 +0000 (02:05 +0200)]
fixed small logic bug
Lukas Schauer [Sat, 6 Jul 2019 17:25:32 +0000 (19:25 +0200)]
Merge tag 'v0.6.5'
Lukas Schauer [Wed, 26 Jun 2019 10:29:39 +0000 (12:29 +0200)]
release 0.6.5 (fixed apiv1 compatibility...)
Lukas Schauer [Wed, 26 Jun 2019 10:29:39 +0000 (12:29 +0200)]
release 0.6.5 (fixed apiv1 compatibility...)
Lukas Schauer [Tue, 25 Jun 2019 13:28:09 +0000 (15:28 +0200)]
release 0.6.4 (fixed account id handling, again)
Lukas Schauer [Tue, 25 Jun 2019 10:50:45 +0000 (12:50 +0200)]
release 0.6.3
Lukas Schauer [Tue, 25 Jun 2019 10:19:20 +0000 (12:19 +0200)]
fixed fetching of account information (fixes #652, fixes #647, fixes #650, closes #648)
Lukas Schauer [Mon, 4 Mar 2019 22:14:40 +0000 (23:14 +0100)]
added documentation about possible future removal of api version 1
Lukas Schauer [Mon, 4 Mar 2019 22:08:10 +0000 (23:08 +0100)]
Revert "cleanup: removed api version 1 support (closes #510)"
Since a few CAs out there actually seem to (only) support ACME v1 I
decided to revert the removal and keep ACME v1 around, at least until
it eventually becomes a bigger inconvenience to maintain.
This reverts commit
aadf7d5e648324d74a7558b52f2a504c1c8c356d .
Lukas Schauer [Sun, 3 Mar 2019 20:51:01 +0000 (21:51 +0100)]
BSD bugfixes for version command (closes #619)
Lukas Schauer [Sun, 3 Mar 2019 19:38:38 +0000 (20:38 +0100)]
tiny documentation fix: per-certificate-config can override PRIVATE_KEY_ROLLOVER (closes #614)
Lukas Schauer [Sun, 3 Mar 2019 19:32:10 +0000 (20:32 +0100)]
cleanup: removed api version 1 support (closes #510)
Lukas Schauer [Sun, 3 Mar 2019 19:22:41 +0000 (20:22 +0100)]
new hook: sync_cert (closes #609)
Lukas Schauer [Sun, 3 Mar 2019 19:08:18 +0000 (20:08 +0100)]
call exit_hook with error message (fixes #630)
Lukas Schauer [Sun, 3 Mar 2019 18:58:04 +0000 (19:58 +0100)]
implement POST-as-GET (closes #626)
Lukas Schauer [Fri, 18 Jan 2019 12:21:39 +0000 (13:21 +0100)]
updated oid for tls-alpn verification token (fixes #624)
Lukas Schauer [Sat, 20 Oct 2018 11:05:20 +0000 (13:05 +0200)]
document DOMAINS_D parameter in example config (fixes #575, closes #582)