获取过期的SSL证书信息

时间:2019-05-03 07:46:50

标签: php ssl certificate ssl-certificate

现在我知道可以通过stream_socket_clientopenssl_x509_parse来获取SSL证书信息

但是我想知道是否还能获得有关过期证书的信息

例如,在https://wrong.host.badssl.com/

仍然存在一个证书,它只是给出了一个错误。

我想获取此错误。

1)证书图像已过期

enter image description here

2)错误的主机证书映像

enter image description here

0 个答案:

没有答案
相关问题