Skip to content

Commit

Permalink
FIX #626
Browse files Browse the repository at this point in the history
  • Loading branch information
drwetter committed May 10, 2017
1 parent 9220ad5 commit 0eb88ff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4968,7 +4968,13 @@ certificate_info() {
fi

out "$indent"; pr_bold " Chain of trust"; out " "
determine_trust "$json_prefix" # Also handles fileout
if [[ "$issuer_O" =~ StartCom ]] || [[ "$issuer_O" =~ WoSign ]] || [[ "$issuer_CN" =~ StartCom ]] || [[ "$issuer_CN" =~ WoSign ]]; then
# Shortcut for this special case here.
pr_italic "WoSign/StartCom"; out " are " ; prln_svrty_critical "not trusted anymore (NOT ok)"
fileout "${json_prefix}issuer" "CRITICAL" "Issuer: not trusted anymore (WoSign/StartCom)"
else
determine_trust "$json_prefix" # Also handles fileout
fi

# http://events.ccc.de/congress/2010/Fahrplan/attachments/1777_is-the-SSLiverse-a-safe-place.pdf, see page 40pp
out "$indent"; pr_bold " EV cert"; out " (experimental) "
Expand Down Expand Up @@ -9205,4 +9211,4 @@ fi
exit $?


# $Id: testssl.sh,v 1.580 2017/04/05 18:30:16 dirkw Exp $
# $Id: testssl.sh,v 1.582 2017/05/10 19:04:47 dirkw Exp $

0 comments on commit 0eb88ff

Please sign in to comment.