openssl可以验证ca证书有效期,当证书没上监控的时候,基本上是用这个命令查,但是又经常忘记~
openssl x509 -in /etc/kubernetes/ssl/kube-apiserver.pem -noout -dates
notBefore=Jan 11 10:17:38 2022 GMT
notAfter=Jan 11 10:17:39 2023 GMT
openssl可以验证ca证书有效期,当证书没上监控的时候,基本上是用这个命令查,但是又经常忘记~
openssl x509 -in /etc/kubernetes/ssl/kube-apiserver.pem -noout -dates
notBefore=Jan 11 10:17:38 2022 GMT
notAfter=Jan 11 10:17:39 2023 GMT