abclife

Linux查看SSL证书是否过期

2020-03-05 17:00  abce  阅读(9877)  评论(0编辑  收藏  举报

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

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

  

# 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

  

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-07-14
  • 2022-02-05
  • 2021-12-21
  • 2021-05-01
  • 2021-04-26
  • 2021-08-03
  • 2022-12-23
猜你喜欢
  • 2022-01-02
  • 2021-12-07
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2022-01-02
  • 2022-01-02
相关资源
相似解决方案