Re: Re: PHP Servers SSL Certificate Expiry
| From: | BohwaZ | Date: | Thu, 14 Sep 2023 15:16:38 +0000 |
| Subject: | Re: Re: PHP Servers SSL Certificate Expiry | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121061@lists.php.net to get a copy of this message | ||
Hi Derick,
I've had the same kind of issue as you. So I set up a script that will
check every day if the certificate for my domains expires in more than
30 days and sends me a SMS if the check fails.
Here is the code of the certificate check part, if that may be useful:
https://gist.github.com/bohwaz/a3e4eb91e82f12768b69f8d24cf0cca8
Have a nice day :)