]>
git.ipfire.org Git - thirdparty/dehydrated.git/log
Lukas Schauer [Sat, 5 Jul 2025 09:12:31 +0000 (11:12 +0200)]
throw error with information about OCSP deprecation if certificate doesn't indicate OCSP support
Lukas Schauer [Sat, 5 Jul 2025 08:55:33 +0000 (10:55 +0200)]
allow KEEP_GOING to also skip over ocsp stapling errors, update ocsp error message with a hint about deprecation on some CAs
Lukas Schauer [Sat, 5 Jul 2025 08:54:29 +0000 (10:54 +0200)]
also allow setting KEEP_GOING as a config option
Lukas Schauer [Sat, 5 Jul 2025 08:28:09 +0000 (10:28 +0200)]
set empty subject for ip-certificates
as suggested by @candlerb in #783
Victor Coss [Sun, 1 Jun 2025 00:45:56 +0000 (20:45 -0400)]
Don't allow CDN's to send cached responses
A lot of CA's use a CDN service to protect and speed up their ACME service. These CDN services can sometimes miss-behave and send cached results. For example DigiCert's ACME service uses the Imperva CDN. It will send cached results on the DNS validation, challenge endpoint, resulting in it being stuck in the processing status, thus dehydrated is hung and never gets the certificate.
Lukas Schauer [Tue, 17 Jun 2025 17:51:21 +0000 (19:51 +0200)]
implemented domain validation timeout
Lukas Schauer [Sun, 18 May 2025 00:28:57 +0000 (02:28 +0200)]
small addition to 0.7.2 changelog
Lukas Schauer [Sun, 18 May 2025 00:16:14 +0000 (02:16 +0200)]
updated changelog
Lukas Schauer [Sun, 18 May 2025 00:06:53 +0000 (02:06 +0200)]
only validate existance of wellknown directory or hook script when actually necessary (fixes #965)
Lukas Schauer [Sat, 17 May 2025 23:36:11 +0000 (01:36 +0200)]
post-v0.7.2-release
Lukas Schauer [Sat, 17 May 2025 23:34:32 +0000 (01:34 +0200)]
release v0.7.2
Lukas Schauer [Fri, 2 May 2025 12:44:47 +0000 (14:44 +0200)]
Allow for automatic deletion of old files
Lukas Schauer [Fri, 2 May 2025 12:34:34 +0000 (14:34 +0200)]
Added a configuration parameter to allow for timeouts during order processing (fixes #955)
Lukas Schauer [Fri, 2 May 2025 12:38:35 +0000 (14:38 +0200)]
Update README (closes #964)
Lukas Schauer [Wed, 23 Apr 2025 09:24:42 +0000 (11:24 +0200)]
use temporary csr file instead of stdin (keeps compatibility to older openssl versions)
Lukas Schauer [Mon, 14 Apr 2025 17:49:31 +0000 (19:49 +0200)]
updated changelog
Christian Kujau [Sun, 14 Jul 2024 22:21:23 +0000 (00:21 +0200)]
Disable warning when reading CSRs from stdin.
Coming across the same warning that was reported in
[PR#929](https://github.com/dehydrated-io/dehydrated/pull/929 "Suppress
openssl warning about reading from stdin") this is my attempt to disable
this warning. Instead of discarding stderr in total (this can still be
useful), we just use the "-in" parameter as hinted in the warning:
$ foo=$(cat req.csr)
$ <<<${foo} openssl req -noout -verify > /dev/null; echo $?
Warning: Will read cert request from stdin since no -in option is given
0
$ <<<${foo} openssl req -in - -noout -verify > /dev/null; echo $?
0
Lukas Schauer [Mon, 14 Apr 2025 17:12:59 +0000 (19:12 +0200)]
added google ca to example config and added documentation link to error message
hshh [Mon, 12 Aug 2024 17:21:57 +0000 (01:21 +0800)]
Add support for Google Trust Services.
Official Documentation: https://cloud.google.com/certificate-manager/docs/public-ca-tutorial
The first registration requires obtaining EAB_KID and EAB_HMAC_KEY according to the document, and setting CONTACT_EMAIL, EAB_HMAC_KEY, EAB_KID in the configuration file.
Bob Idle [Tue, 5 Mar 2024 16:09:24 +0000 (17:09 +0100)]
Update dehydrated repo urls in man page
Lukas Schauer [Mon, 14 Apr 2025 16:49:44 +0000 (18:49 +0200)]
fix small issue with certificate profile selection (use key instead of value)
Lukas Schauer [Mon, 14 Apr 2025 16:41:38 +0000 (18:41 +0200)]
added changelog + default config entries for certificate profile selection
Youfu Zhang [Mon, 13 Jan 2025 13:04:55 +0000 (21:04 +0800)]
implemented certificate profile selection (draft-aaron-acme-profiles-00)
https://letsencrypt.org/2025/01/09/acme-profiles/
https://datatracker.ietf.org/doc/html/draft-aaron-acme-profiles-00
Signed-off-by: Youfu Zhang <zhangyoufu@gmail.com>
Lukas Schauer [Fri, 11 Apr 2025 08:33:03 +0000 (10:33 +0200)]
renew certificates with 32 days remaining (instead of 30) to avoid issues with monthly cronjobs (fixes #963)
Wilfried Teiken [Sun, 3 Dec 2023 20:07:01 +0000 (15:07 -0500)]
Ignore output of 'openssl req -verify'.
Newer versions of openssl seem to send the verify outout to stdout instead of
stderr in the past. Ignore that output when retrieving altnames.
Lukas Schauer [Mon, 16 Jan 2023 21:41:05 +0000 (22:41 +0100)]
fix zsh compatibility (fixes #896)
Alexander Sulfrian [Fri, 4 Feb 2022 19:34:22 +0000 (20:34 +0100)]
Replace all escaped slashes in json strings (closes #866)
${var/pattern/string} will only replace the first occurence. We should
use ${var//pattern/string} to replace all escaped slashes.
Daniel Molkentin [Thu, 12 May 2022 09:41:13 +0000 (11:41 +0200)]
improve man page based on feedback from debian-l10n-english (fixes #873, closes #875)
Also propagate changes to dehydrated help and README.md
Lukas Schauer [Mon, 31 Oct 2022 14:46:28 +0000 (15:46 +0100)]
added note about dehydrated irc channel
Lukas Schauer [Mon, 31 Oct 2022 14:46:07 +0000 (15:46 +0100)]
increase dehydrated version for git master use
Lukas Schauer [Mon, 31 Oct 2022 14:12:38 +0000 (15:12 +0100)]
release 0.7.1 (it finally happened!)
Krayon [Tue, 7 Jun 2022 07:13:18 +0000 (17:13 +1000)]
Add missing checks and fix hexdump output (closes #878)
Lukas Schauer [Wed, 7 Sep 2022 13:09:57 +0000 (15:09 +0200)]
implemented workaround for retrying on badNonce errors
Simon Deziel [Wed, 23 Mar 2022 17:31:31 +0000 (13:31 -0400)]
egrep is deprecated
egrep has been deprecated since 2007 and warns it's obsolete since:
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=
a9515624709865d480e3142fd959bccd1c9372d1
Signed-off-by: Simon Deziel <simon@sdeziel.info>
Lukas Schauer [Wed, 6 Apr 2022 23:34:21 +0000 (01:34 +0200)]
rfc8738: fix CN on certs with mixed ip+dns
Lukas Schauer [Wed, 6 Apr 2022 23:33:48 +0000 (01:33 +0200)]
rfc8738: only replace ip with reverse dns thingy if tls-alpn-01 is used
Lukas Schauer [Wed, 6 Apr 2022 20:23:43 +0000 (22:23 +0200)]
implemented rfc 8738 support
Lukas Schauer [Tue, 2 Nov 2021 08:05:19 +0000 (09:05 +0100)]
really reverted regression in somehow broken array expansion from
e963438c ..
Lukas Schauer [Tue, 2 Nov 2021 08:00:54 +0000 (09:00 +0100)]
reverted regression in somehow broken array expansion from
e963438c (fixes #850)
Lukas Schauer [Mon, 1 Nov 2021 18:25:17 +0000 (19:25 +0100)]
removed old logo
Lukas Schauer [Mon, 1 Nov 2021 18:18:49 +0000 (19:18 +0100)]
readme and (temporary) logo update
Lukas Schauer [Mon, 1 Nov 2021 17:54:30 +0000 (18:54 +0100)]
fix regression from
e963438c (fixes #849)
Lukas Schauer [Mon, 1 Nov 2021 17:56:23 +0000 (18:56 +0100)]
use noglob helpers for domains.txt.d parsing
Lukas Schauer [Sun, 31 Oct 2021 21:58:06 +0000 (22:58 +0100)]
added some changes to changelog
Lukas Schauer [Sun, 31 Oct 2021 21:36:40 +0000 (22:36 +0100)]
Exit with error if somebody is trying to use EC account keys with ACME v1
Lukas Schauer [Sun, 31 Oct 2021 21:31:09 +0000 (22:31 +0100)]
extend ec algorithms with secp521r1 (not yet supported by LetsEncrypt, but maybe by other CAs)
Lukas Schauer [Sun, 31 Oct 2021 21:29:44 +0000 (22:29 +0100)]
experimental support for ec account keys (fixes #827)
Lukas Schauer [Sun, 31 Oct 2021 19:20:40 +0000 (20:20 +0100)]
Avoid writing ec-parameters to private-key file (fixes #830)
Lukas Schauer [Sun, 31 Oct 2021 19:11:31 +0000 (20:11 +0100)]
Better solution for issue #845
Lukas Schauer [Sun, 31 Oct 2021 19:06:09 +0000 (20:06 +0100)]
Show error if chain is configured for a CA which doesn't offer alternate chains (fixes #845)
Lukas Schauer [Sun, 31 Oct 2021 18:55:41 +0000 (19:55 +0100)]
added warning about possible behaviour-change with new domains.txt.d feature
Marc Schütz [Fri, 19 Mar 2021 17:26:39 +0000 (18:26 +0100)]
Support reading domains from drop-in snippets in `domains.txt.d`
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