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

Incoming webhook failed because of certificate issues #73

Open
Subhasish5 opened this issue Aug 1, 2023 · 2 comments
Open

Incoming webhook failed because of certificate issues #73

Subhasish5 opened this issue Aug 1, 2023 · 2 comments

Comments

@Subhasish5
Copy link

Internal error occurred: failed calling webhook
"pods.env-injector.admission.spv.no": failed to call webhook: Post
"https://akv2k8s-envinjector.akv2k8s.svc:443/pods?timeout=10s": x509:
certificate has expired or is not yet valid: current time

How to fix this issue

@tspearconquest
Copy link

Did your certificate expire?

kubectl get secret akv2k8s-envinjector-tls -n akv -o jsonpath='{.data.tls\.crt}' | base64 -d | openssl x509 -noout -text

@Subhasish5
Copy link
Author

@tspearconquest yes the certificate has been expired...can you please let me know how do we renew this certificate as well

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

2 participants