问题:
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