Commit Graph
9 Commits
Author SHA1 Message Date
andyandClaude Sonnet 5 a4fc32b6ce Fix Let's Encrypt issuer detection with OpenSSL 3.x
openssl x509 -issuer changed its default output format between
OpenSSL 1.1.1 and 3.x: the old format has no spaces around '='
(O=Let's Encrypt), the new one does (O = Let's Encrypt). The
renew.sh issuer check used a literal grep -q "O=Let's Encrypt", so
on OpenSSL 3.x (e.g. current ESXi releases) it never matches and
the script treats every existing Let's Encrypt cert as untrusted,
requesting a brand new certificate on every scheduled run instead
of only when it's actually close to expiry. This risks hitting
Let's Encrypt's rate limits.

Match the issuer with optional whitespace around '=' so it works
with both OpenSSL output formats.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 13:11:50 +02:00
Johannes Feichtner 27598a9070 Update README.md with info on support for ESXi 8.0 2022-12-10 14:52:18 +01:00
Johannes Feichtner 078e726fdd Bring back the offline bundle 1.1.0 2022-12-04 14:41:42 +01:00
Johannes Feichtner e2e66c8475 Remove offline bundle also from Gitlab CI 2022-12-04 01:11:31 +01:00
Johannes Feichtner 9ec56ba0ff build: Adapt create_vib.sh for ESXi 8.0 compatible builds
ESXi 8.0 requires a SHA-256 hash of the gzipped payload to be provided in the manifest. The VIB author tool doesn't include this functionality for SHA-1 but not SHA-256. The build process has therefore been modified to take VIB author out of the game
2022-12-04 01:00:39 +01:00
Johannes Feichtner 6469b47185 Github Action: Ignore offline bundle from now on 2022-12-04 00:50:03 +01:00
Johannes Feichtner 9da2a81a7a Read FQDN from hostname command
The previous command stopped working with ESXi 8
2022-12-03 23:56:35 +01:00
Johannes Feichtner a58778311d Keep existing cert while it is still valid
Letsencrypt has some hiccups sometimes during renewals. Instead of instantly replacing a still valid cert with a self-signed, it should be kept, while it hasn't expired
2022-12-03 23:53:11 +01:00
Johannes Feichtner cbe7fd719f Initial commit 1.0.0 2022-06-19 21:31:48 +02:00