fix PAG, the cert is muti line

This commit is contained in:
neilpang 2019-01-06 19:44:11 +08:00
parent ca541ed921
commit 1c48498e8f

View File

@ -4153,7 +4153,7 @@ $_authorizations_map"
return 1
fi
echo "$response" | _dbase64 >"$CERT_PATH";
echo "$response" | _dbase64 "multiline" >"$CERT_PATH";
if [ "$(grep -- "$BEGIN_CERT" "$CERT_PATH" | wc -l)" -gt "1" ]; then
_debug "Found cert chain"