File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9637,13 +9637,15 @@ certificate_info() {
96379637 jsonID="cert_certificatePolicies_EV"
96389638 # only the first one, seldom we have two
96399639 policy_oid=$(awk '/ .Policy: / { print $2 }' <<< "$cert_txt" | awk 'NR < 2')
9640- if grep -Eq 'Extended Validation|Extended Validated|EV SSL|EV CA' <<< "$issuer" || \
9640+ if grep -Eq 'Extended Validation|Extended Validated|EV SSL|EV CA|EV TLS' <<< "$issuer" || \
9641+ [[ 2.23.140.1.1 == "$policy_oid" ]] || \
96419642 [[ 2.16.840.1.114028.10.1.2 == "$policy_oid" ]] || \
96429643 [[ 2.16.840.1.114412.1.3.0.2 == "$policy_oid" ]] || \
96439644 [[ 2.16.840.1.114412.2.1 == "$policy_oid" ]] || \
96449645 [[ 2.16.578.1.26.1.3.3 == "$policy_oid" ]] || \
96459646 [[ 1.3.6.1.4.1.17326.10.14.2.1.2 == "$policy_oid" ]] || \
96469647 [[ 1.3.6.1.4.1.17326.10.8.12.1.2 == "$policy_oid" ]] || \
9648+ [[ 1.3.6.1.4.1.38064.1.3.1.4 == "$policy_oid" ]] || \
96479649 [[ 1.3.6.1.4.1.13177.10.1.3.10 == "$policy_oid" ]] ; then
96489650 out "yes "
96499651 fileout "${jsonID}${json_postfix}" "OK" "yes"
You can’t perform that action at this time.
0 commit comments