問題:
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