1.通过域名获取:

echo | openssl s_client -servername 域名 -connect 域名:443 2>/dev/null | openssl x509 -noout -dates

Not Before: Jun 16 11:31:29 2015 GMT(起)
Not After : Jun 17 02:38:48 2018 GMT(止)

 

2.通过证书获取

openssl x509 -in dingkai.crt(证书文件名,不是key) -noout -text

 

相关文章:

  • 2022-12-23
  • 2021-06-17
  • 2021-12-31
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
猜你喜欢
  • 2022-12-23
  • 2021-12-02
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案