mirror of https://github.com/CISOfy/lynis.git
Removed warning for expired SSL certificate, added suggestion instead
This commit is contained in:
parent
92660aec3c
commit
1759f66181
|
@ -5,8 +5,8 @@
|
|||
# Lynis
|
||||
# ------------------
|
||||
#
|
||||
# Copyright 2007-2014, Michael Boelen (michael@rootkit.nl), The Netherlands
|
||||
# Web site: http://www.rootkit.nl
|
||||
# Copyright 2007-2014, Michael Boelen (michael.boelen@cisofy.com), CISOfy
|
||||
# Web site: https://cisofy.com
|
||||
#
|
||||
# Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
|
||||
# welcome to redistribute it under the terms of the GNU General Public License.
|
||||
|
@ -49,7 +49,7 @@
|
|||
else
|
||||
FOUNDPROBLEM=1
|
||||
logtext "Result: certificate ${J} has been expired"
|
||||
report "expired_certificate[]=${J}"
|
||||
report "expired_certificate[]=${J}|unknown entity|"
|
||||
#YYY Dump more information to log file
|
||||
fi
|
||||
else
|
||||
|
@ -68,7 +68,7 @@
|
|||
Display --indent 2 --text "- Checking SSL certificate expiration" --result OK --color GREEN
|
||||
else
|
||||
Display --indent 2 --text "- Checking SSL certificate expiration" --result WARNING --color RED
|
||||
ReportWarning ${TEST_NO} "M" "One or more SSL certificates expired"
|
||||
ReportSuggestion ${TEST_NO} "Check available certificates for expiration"
|
||||
fi
|
||||
fi
|
||||
#
|
||||
|
@ -79,4 +79,4 @@ wait_for_keypress
|
|||
|
||||
#
|
||||
#================================================================================
|
||||
# Lynis - Copyright 2007-2014, Michael Boelen - www.rootkit.nl - The Netherlands
|
||||
# Lynis - Copyright 2007-2014, Michael Boelen, CISOfy - https://cisofy.com
|
||||
|
|
Loading…
Reference in New Issue