Check SSL certificate status of your website with Python. 用 Python 检查你网站的 SSL 证书有效期及颁发机构。
- Modify "WEBSITELIST" in the script
- Run script :
python3 SSLCheck.py
- Run script with command line parameters:
python3 SSLCheck.py google.com
$ python3 checkSSL.py google.com
Thanks for using website SSL certificate check tool.
Website: google.com
Start date: 2020-07-07 08:04:38
Expire date: 2020-09-29 08:04:38
Days left: 59 days
Issued by: GTS CA 1O1
This project is highly inspired by : https://flyhigher.top/develop/755.html
SSLCheck @CoderTesla , Released under the MIT License.
- 修改代码中顶部的 "WEBSITELIST" ,把你想检查的网站域名填进去
- 然后运行程序:
python3 SSLCheck.py
- 带参数运行本程序:
python3 SSLCheck.py google.com
备注:如果系统语言为简体中文,则程序自动输出中文说明。其他情况,会输出英文说明文字。
$ python3 checkSSL.py google.com
感谢使用网站 SSL 证书检查工具。
Website: google.com
Start date: 2020-07-07 08:04:38
Expire date: 2020-09-29 08:04:38
Days left: 59 days
Issued by: GTS CA 1O1
本项目深受此文启发,特别鸣谢 https://flyhigher.top/develop/755.html
SSLCheck @CoderTesla , 遵循 MIT 开源协议。