You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Script to check x.509 certificat of website using openssl
π Documentation
Script options
-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
return error code
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
π» Usage/Examples
$ ./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.