Created
May 28, 2020 08:29
-
-
Save leopay/283dfd4b1b0be0c71f2a7b05b99e4ae0 to your computer and use it in GitHub Desktop.
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
tkc exec $(tkc get po -lapp=ratings -ojsonpath={.items..metadata.name}) \ | |
-c istio-proxy \ | |
-- curl -s http://localhost:15000/config_dump | \ | |
jq -r '.configs[-1].dynamic_active_secrets[0].secret.tls_certificate.certificate_chain.inline_bytes' | \ | |
base64 -d | sed -n '/-----BEGIN /,/-----END/p; /----END/q'|openssl x509 -nocert -ext "subjectAltName" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment