简体   繁体   English

Python3:SSL证书信息

[英]Python3: ssl cert information

I have been trying to get information regarding expired ssl certificates using python 3 but it would be nice to be able to get as verbose a workup as possible. 我一直在尝试使用python 3获取有关过期的ssl证书的信息,但是能够进行尽可能详细的检查将非常好。 any takers? 有没有人? So far i have been trying to use urllib.request to get this info (to no avail), does this strike anyone as foolish? 到目前为止,我一直在尝试使用urllib.request来获取此信息(无济于事),这会让任何人愚蠢吗?

I have seen some examples of similar work using older versions of python, but nothing using v3. 我已经看到了一些使用旧版本python进行类似工作的示例,但使用v3却没有。 http://objectmix.com/python/737581-re-urllib-getting-ssl-certificate-info.html http://www.mail-archive.com/python-list@python.org/msg208150.html http://objectmix.com/python/737581-re-urllib-getting-ssl-certificate-info.html http://www.mail-archive.com/python-list@python.org/msg208150.html

SSL的3.1.1文档提供了一个示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM