I've setup kube-oidc-proxy with dex(ldap) and gangway on eks. Gangway signs into ldap via dex just fine, however when I try to use the kubeconfig that is generated I get the following error:
Unable to connect to the server: x509: certificate signed by unknown authority
On the kube-oidc-proxy pod itself I see this:
http: TLS handshake error from x.x.x.x:25302: remote error: tls: bad certificate
I generated the certs for dex/kube-oidc via this script, just modifying the url.
Both Dex and kube-oidc-proxy have their own ssl loadbalancers defined like so:
I've setup kube-oidc-proxy with dex(ldap) and gangway on eks. Gangway signs into ldap via dex just fine, however when I try to use the kubeconfig that is generated I get the following error:
Unable to connect to the server: x509: certificate signed by unknown authority
On the kube-oidc-proxy pod itself I see this:
http: TLS handshake error from x.x.x.x:25302: remote error: tls: bad certificate
I generated the certs for dex/kube-oidc via this script, just modifying the url.
Both Dex and kube-oidc-proxy have their own ssl loadbalancers defined like so: