Created
June 25, 2021 09:59
-
-
Save fonsecas72/c822f5c7b65f0acfe2b6b837b3a8f515 to your computer and use it in GitHub Desktop.
How to check a cert secrt in k8s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get secret some-cert -o json | jq -r '.data."tls.crt" | @base64d ' | openssl x509 -text -noout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
base64 -d
if on linux