Created
April 23, 2019 10:45
-
-
Save stuart-warren/54fb09a01a2d0772b8786a29039a0475 to your computer and use it in GitHub Desktop.
read cert from kubernetes
This file contains 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 <yourcert> -o=json | jq '.data["tls.crt"]' -r | base64 -d | openssl x509 -in /dev/stdin -text -noout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment