Script to check x.509 certificat of website using openssl
-d <domain> Domain name (Mandatory).
-h Print this Help.
-D <99> Number of days (by default 7 days).
-p <443> Port (by default 443).
-v Verbose error message on stderr
Error Code | Description |
---|---|
0 | Not expired |
1 | Expired or will expired within 7 days by default |
3 | Openssl not installed |
22 | No domain specified or invalid options |
101 | Domain doesn't respond |
$ ./checkcert.sh -d www.julien.io -p 443 -D 15 -v
β www.julien.io won't expired within 15 days.
$ ./checkcert.sh -d expired.badssl.com -p 443 -D 90 -v
β expired.badssl.com has been expired or will expire within 90 days.
Status | Description |
---|---|
β | |
β |
Status | Description |
---|---|
β | Done |
π | In progress |
π’ | Low priority |
π‘ | Medium priority |
π΄ | High Priority |
Julien Mousqueton
- Website: https://julien.io
- LinkedIn: Julien Mousqueton
- Twitter: @JMousqueton
- Github: @JMousqueton
- Ecole 2600 students for the support while coding a sunday evening :)