Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test to verify proxy-client-certificate is valid #146

Open
drewwells opened this issue Dec 17, 2020 · 0 comments
Open

Add a test to verify proxy-client-certificate is valid #146

drewwells opened this issue Dec 17, 2020 · 0 comments

Comments

@drewwells
Copy link
Contributor

drewwells commented Dec 17, 2020

The example-apiserver should have been verifying client certificates and caught this issue. Below is a openssl command to verify the certificates.

openssl verify -CAfile <(k -n default get secret -o yaml drew-apiserver-konk-proxy-client | \
   awk '/^  ca.crt/ {print $2}' | base64 -d) <(k -n default get secret -o yaml drew-apiserver-konk-proxy-client | \
   awk '/^  tls.crt/ {print $2}' | base64 -d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant