There must be some kind of law "Every company will forget to renew a TLS certificate once" I know I can't throw stones in this particular greenhouse :)
Githubassets.com Cert Has Expired
21–30 of 55 posts
Re: Githubassets.com Cert Has Expired
#22Maybe browsers should put up a warning when a certificate is about to expire; say two weeks away. Nobody should let their certificate get that close to expiring, but if it does, you'd rather it generate a lot of visible warnings before simply ceasing to work at all.
Or how about the responsible engineers/testers/managers/whatevers setup proper testing infrastructure for the multi-million projects run by their huge international corporate? Feels like it's not a lot to ask for the most basic testing like checking when certs expire, setup automation to renew it and have fail-safes/error reporting in case the renewal fails.
Re: Githubassets.com Cert Has Expired
#23This is a script I call "certdays.sh" which you can call from your regular tests like this: certdays.sh somedomain.com 14 If the certificate for somedomain.com is valid less then 14 days, it will fail: https://github.com/no-gravity/certdays
Re: Githubassets.com Cert Has Expired
#24This is a script I call "certdays.sh" which you can call from your regular tests like this: certdays.sh somedomain.com 14 If the certificate for somedomain.com is valid less then 14 days, it will fail: https://github.com/no-gravity/certdays
Re: Githubassets.com Cert Has Expired
#25 command_name check_certificate
command_line $USER1$/check_http -H $ARG1$ -p $ARG2$ -4 -S -C 21 -t 20 --sni
this won't warn about certificate name mismatches thoughRe: Githubassets.com Cert Has Expired
#26Earlier quoted context omitted.
Or how about the responsible engineers/testers/managers/whatevers setup proper testing infrastructure for the multi-million projects run by their huge international corporate? Feels like it's not a lot to ask for the most basic testing like checking when certs expire, setup automation to renew it and have fail-safes/error reporting in case the renewal fails.
Tests can have bugs too.
But still, multi-million companies should surely be able to handle that.
Re: Githubassets.com Cert Has Expired
#27Re: Githubassets.com Cert Has Expired
#28Earlier quoted context omitted.
Or how about the responsible engineers/testers/managers/whatevers setup proper testing infrastructure for the multi-million projects run by their huge international corporate? Feels like it's not a lot to ask for the most basic testing like checking when certs expire, setup automation to renew it and have fail-safes/error reporting in case the renewal fails.
Tests can have bugs too.
Re: Githubassets.com Cert Has Expired
#29This is a script I call "certdays.sh" which you can call from your regular tests like this: certdays.sh somedomain.com 14 If the certificate for somedomain.com is valid less then 14 days, it will fail: https://github.com/no-gravity/certdays
Is the '25' in 60 60 25 intentional to give a bit more margin or should it just have been 24?
Fixed now. Thanks.
Re: Githubassets.com Cert Has Expired
#30if you're using nagios, setup something like command_name check_certificate command_line $USER1$/check_http -H $ARG1$ -p $ARG2$ -4 -S -C 21 -t 20 --sni this won't warn about certificate name mismatches though