Analyze certificate for further errors

This commit is contained in:
Jonatan Castro 2020-11-26 18:20:43 +11:00
parent 34c729abdc
commit 85e8737b55

View File

@ -11,7 +11,7 @@ jobs:
command: |
.circleci/slack-message.sh "*Checking SSL Certificates*" "#FFF000"
sudo pip install -r requirements.txt
OUTPUT=$(./ssl_checker.py -f ./hosts_to_check)
OUTPUT=$(./ssl_checker.py -a -f ./hosts_to_check)
echo "$OUTPUT"
if ! echo "$OUTPUT" | grep "Expired: 0" ; then
.circleci/slack-message.sh "*Checked SSL Certificates*: Expired :x:" "#FF0000"