File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8429,8 +8429,9 @@ certificate_info() {
84298429 outln
84308430 prln_svrty_low "${spaces}NOT ok: length must not exceed 20 bytes (is: $len_cert_serial bytes)"
84318431 fileout "cert_serialNumberLen${json_postfix}" "LOW" "$len_cert_serial is too long"
8432- elif [[ $len_cert_serial -lt 8 ]]; then
8433- # Wording is from https://cabforum.org/wp-content/uploads/CA-Browser-Forum-BR-1.8.0.pdf
8432+ elif [[ $len_cert_serial -lt 8 ]] && [[ $SERVICE == HTTP ]]; then
8433+ # We only want this check for browsers as this requirement comes from the CA browser forum,
8434+ # see e.g. https://cabforum.org/wp-content/uploads/CA-Browser-Forum-BR-1.8.0.pdf
84348435 prln_svrty_low " NOT ok: length should be >= 64 bits entropy (is: $len_cert_serial bytes)"
84358436 fileout "cert_serialNumberLen${json_postfix}" "LOW" "$len_cert_serial is not enough entropy"
84368437 else
You can’t perform that action at this time.
0 commit comments