October 20, 2019

如何驗證 SSL 憑證到期日?

如何驗證 SSL 憑證到期日?

假設手上的伺服器, 只有SSL 憑證, 該如何確認憑證幾時到期呢?

可以用以下指令進行驗證!

openssl x509 -enddate -noout -in xxx.xxx.com.tw.crt notAfter=Mar 14 23:59:59 2017 GMT

notAfter就是憑證到期日.