mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
change sequence of out output (trust checks together
This commit is contained in:
parent
0c2acdd8fe
commit
3d588ddb20
@ -4317,6 +4317,9 @@ certificate_info() {
|
||||
fileout "${json_prefix}trust" "WARN" "${trustfinding}${trustfinding_nosni}"
|
||||
fi
|
||||
|
||||
out "$indent"; pr_bold " Chain of trust"; out " "
|
||||
determine_trust "$json_prefix" # Also handles fileout
|
||||
|
||||
# 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) "
|
||||
# only the first one, seldom we have two
|
||||
@ -4386,10 +4389,6 @@ certificate_info() {
|
||||
out "$indent"; pr_bold " # of certificates provided"; outln " $certificates_provided"
|
||||
fileout "${json_prefix}certcount" "INFO" "# of certificates provided : $certificates_provided"
|
||||
|
||||
|
||||
out "$indent"; pr_bold " Chain of trust"; out " (experim.) "
|
||||
determine_trust "$json_prefix" # Also handles fileout
|
||||
|
||||
out "$indent"; pr_bold " Certificate Revocation List "
|
||||
crl="$($OPENSSL x509 -in $HOSTCERT -noout -text 2>>$ERRFILE | grep -A 4 "CRL Distribution" | grep URI | sed 's/^.*URI://')"
|
||||
if [[ -z "$crl" ]]; then
|
||||
@ -8488,4 +8487,4 @@ fi
|
||||
exit $?
|
||||
|
||||
|
||||
# $Id: testssl.sh,v 1.528 2016/07/23 09:16:12 dirkw Exp $
|
||||
# $Id: testssl.sh,v 1.530 2016/07/23 12:52:24 dirkw Exp $
|
||||
|
Loading…
Reference in New Issue
Block a user