mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
--signcsr works on RHEL 8 but not on RHEL 9 #634
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 @dopheideb on GitHub (Feb 26, 2025).
When I use the --signcsr option op RHEL 9, my output is:
I traced it back to function "extract_altnames" where validation is done:
Manually running a verify on RHEL 8 (OpenSSL 1.1.1k FIPS 25 Mar 2021) is fine. No output whatsoever:
Manually running a verify on RHEL 9 (OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)) does output something:
dehydrated does not anticipate output on stdout, which leads to the weird error message: the words "Certificate", "request", "self-signature", "verify", "OK" are treated as SAN parts, and that is obviously wrong.
The quickfix for me, was to simply redirect all output to /dev/null:
@dopheideb commented on GitHub (Feb 26, 2025):
FWIW, output of dehydrated -v on RHEL 9:
FWIW, output of dehydrated -v on RHEL 8 (AlmaLinux 8 to be correct):
@fusenuk commented on GitHub (Apr 2, 2025):
FYI this has been flagged before, and there are pull requests that fix it e.g.
https://github.com/dehydrated-io/dehydrated/pull/940
@lukas2511 commented on GitHub (Apr 14, 2025):
The mentioned PR has been merged now. Closing this issue as the underlying issue has probably been fixed with that. Sorry this took so long.