Is your feature request related to a problem? Please describe.
I would like to be able to use kubectl to generate mTLS secrets for use in sslConfig. However, kubectl create secret tls does not support creating a secret with the root CA cert needed to verify the signature of the downstream client vert or the upstream server cert.
This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.
Gloo Edge Product
Enterprise
Gloo Edge Version
1.13.x
Is your feature request related to a problem? Please describe.
I would like to be able to use
kubectl
to generate mTLS secrets for use insslConfig
. However,kubectl create secret tls
does not support creating a secret with the root CA cert needed to verify the signature of the downstream client vert or the upstream server cert.Good:
glooctl create secret tls certauth --rootca CA.pem --privatekey decoste.com.key --certchain decoste.com.crt
Insufficient (no CA cert):
kubectl -n gloo-system create secret tls certauth --key decoste.com.key --cert decoste.com.crt
Fails:
kubectl -n gloo-system create secret generic certauth --from-file=tls.crt=decoste.com.crt --from-file=tls.key=decoste.com.key --from-file=ca.crt=myCA.pem
with
name:"certauth-test" namespace:"gloo-system" is not a TLS secret
as the type isOpaque
notkubernetes.io/tls
Describe the solution you'd like
Support properly formatted
Opaque
secrets forsslConfig
Describe alternatives you've considered
No response
Additional Context
No response