使用OpenSSL查看证书过期时间的方法如下(xxx.crt 为需要查看的证书名称):
openssl x509 -in xxx.crt -noout -enddate
输出:notAfter=Nov 8 09:23:22 2030 GMT
如果想查看证书更多信息:
openssl x509 -in xxx.crt -text
本文介绍了如何使用OpenSSL命令行工具查看特定证书(xxx.crt)的过期时间和获取更详细信息,包括`notAfter`字段和文本模式查看方法。
使用OpenSSL查看证书过期时间的方法如下(xxx.crt 为需要查看的证书名称):
openssl x509 -in xxx.crt -noout -enddate
输出:notAfter=Nov 8 09:23:22 2030 GMT
如果想查看证书更多信息:
openssl x509 -in xxx.crt -text
835

被折叠的 条评论
为什么被折叠?