欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

Linux查看SSL证书是否过期 有效期 截止日期 有大用 有大大用 有大大大用

使用OpenSSL工具,执行如下命令即可看到证书的有效起止时间:

1
openssl x509 -in <证书请求文件> -noout -dates

  

1
2
3
# openssl x509 -in /etc/leencrypt/live/app.xxx.com/fhain.pem  -noout -dates
notBefore=May 22 00:00:00 2017 GMT
notAfter=May 21 23:59:59 2020 GMT

  

来自  https://www.cnblogs.com/abclife/p/12421225.html

普通分类: