mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-02-25 20:04:52 +01:00
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.
This commit is contained in:
committed by
Lukas Schauer
parent
e3ef43c816
commit
4fd777e87e
@@ -1011,7 +1011,7 @@ signed_request() {
|
||||
extract_altnames() {
|
||||
csr="${1}" # the CSR itself (not a file)
|
||||
|
||||
if ! <<<"${csr}" "${OPENSSL}" req -verify -noout 2>/dev/null; then
|
||||
if ! <<<"${csr}" "${OPENSSL}" req -verify -noout >/dev/null 2>&1; then
|
||||
_exiterr "Certificate signing request isn't valid"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user