How to determine SSL cert expiration date from a PEM encoded certificate?

问题:

If I have the actual file and a Bash shell in Mac or Linux, how can I query the cert file for when it will expire?如果我在 Mac 或 Linux 中有实际文件和 Bash shell,我如何查询证书文件的到期时间? Not a web site, but actually the certificate file itself, assuming I have the csr, key, pem and chain files.不是网站,而是证书文件本身,假设我有 csr、密钥、pem 和链文件。


解决方案:

参考一: https://en.stackoom.com/question/1RMXl
参考二: https://stackoom.com/question/1RMXl
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章