查看证书的有效期pem

[root@hj-elk cert]# openssl x509 -in 4398268__huajingyun.com.pem -noout -dates
notBefore=Aug 24 00:00:00 2020 GMT
notAfter=Aug 25 12:00:00 2021 GMT
[root@hj-elk cert]# openssl x509 -in 4398268__huajingyun.com.pem -noout -enddate
notAfter=Aug 25 12:00:00 2021 GMT
[root@hj-elk cert]#

可随意转载,欢迎署名!
原文地址:https://www.cnblogs.com/netsa/p/14791850.html