本文介绍了检查SAN SSL证书的备用名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法以编程方式检查SAN SSL证书的备用名称?
使用 - 例如 - 以下命令:

Is there a way to programmatically check the Alternative Names of a SAN SSL cert?using - for instance - the following command:

openssl s_client -connect www.website.com:443

我可以得到很多信息,但不是所有的SAN。

I can get many info but not all the SANs.

非常感谢!

推荐答案

openssl s_client -connect website.com:443 | openssl x509 -noout -text | grep DNS:

:)

这篇关于检查SAN SSL证书的备用名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-29 11:05