Kubernetes - Cert-manager challenges failed to get let'sencrypt signed certificates, propagation check failed (wrong status code 400, expected 200) #6264
Unanswered
Maximus-IT
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using cert-manager(helm deployment) in Kubernetes cluster context to get certificates signed automatically by letsencrypt, for my wikijs application behind an ingress-nginx service. I can't join my service wikijs in HTTP or HTTPS anymore.
First step
After an automatic update of ingress-nginx, my service wikijs did'nt work anymore with https. My cert-manager service was stucked in "CrashLoopBackOff" statement.
First error in cert-manager log (after Ingress-nginx update to 1.8.1 version) :
Failed to watch *v1beta1.Ingress: failed to list *v1beta1.Ingress: the server could not find the requested resource
Second step
So i performed an update of each service to fix this issue and followed prerequisites here for compatibility : https://github.com/kubernetes/ingress-nginx
Cert-manager started correctly and "CrashLoopBackOff" statement disappeared. So first error was fixed.
Old versions:
K8s :
1.19.0
Cert-manager :
1.3.0
ingress-Nginx :
0.7.0
(not sure about that because i used https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/cloud/deploy.yaml)New Versions:
K8s :
1.24.13-2
Cert-manager :
1.12.0
Ingress-Nginx :
1.8.1
(auto, i did nothing. Maybe the hoster did an update of K8s or something without warn me)But i had new errors after updating K8s and Cert-Manager.
Cert-manager logs :
Third step
I decided to reinstall from scratch my cert-manager service with these command lines :
Delete my issuer and my ingress :
Uninstall cert-manager :
Install cert-manager :
Apply again my Issuer :
Apply again my ingress :
Restart my ingress-nginx :
kubectl rollout restart deploy/ingress-nginx-controller -n ingress-nginx
And errors still subsists :
Cert-manager logs:
Error in browser :
ERR_SSL_PROTOCOL_ERROR
What i'm doing wrong ?
Thanks for your help !
Beta Was this translation helpful? Give feedback.
All reactions