Custom webhook tls error: bad certificate #3173
-
|
I setup a simple interpreter webhook for my CRD and deploy it outside the Karmada cluster. The webhook runs well but cannot connect to karmada with TLS handshake error. I installed karmada with Helm in auto cert mode. The tls cert of the webhook is from The caBundle is equal to the server-ca.crt of I have carefully verified that the my webhook cert is exactly the same as in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
About the certificate, I would like to invite @lonelyCZ to take a look. |
Beta Was this translation helpful? Give feedback.
-
|
thx for the reply @lonelyCZ With being sure that i had the correct cert, i tried to curl to the webhook server directly in verbose mode and got illegal host error. Since i deployed my webhook outside the cluster, the cert needs to be regenerated with filling the host of webhook. After that it works fine. |
Beta Was this translation helpful? Give feedback.
thx for the reply @lonelyCZ
With being sure that i had the correct cert, i tried to curl to the webhook server directly in verbose mode and got illegal host error. Since i deployed my webhook outside the cluster, the cert needs to be regenerated with filling the host of webhook.
After that it works fine.