Okay first off: FREAKIN' LOVE THIS SCRIPT. It's amazing and has REALLY saved us. Secondly, I think the warnday variable gets reset. Here's the command I'm using:
bash ssl-cert-check -f storage/app/ssldomains -x 10
I added some echos of gibberish (you have to love testing). In the if statement where the details of the cert gets printed (around line 798), the WARNDAYS variable gets reset to 30 (default).
I adapted the script to only show sites that are expiring based on the -x option if there's an -F flag thrown in. We have a lot of sites. I don't need to see all of them. :)
Okay first off: FREAKIN' LOVE THIS SCRIPT. It's amazing and has REALLY saved us. Secondly, I think the warnday variable gets reset. Here's the command I'm using:
bash ssl-cert-check -f storage/app/ssldomains -x 10
I added some echos of gibberish (you have to love testing). In the if statement where the details of the cert gets printed (around line 798), the WARNDAYS variable gets reset to 30 (default).
I adapted the script to only show sites that are expiring based on the -x option if there's an -F flag thrown in. We have a lot of sites. I don't need to see all of them. :)
Again, thank you so much!