Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warndays variable gets reset #127

Open
cbloss opened this issue Jan 31, 2023 · 0 comments
Open

Warndays variable gets reset #127

cbloss opened this issue Jan 31, 2023 · 0 comments

Comments

@cbloss
Copy link

cbloss commented Jan 31, 2023

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).

image

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant