Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

x509: certificate signed by unknown authority #68

Open
uthappa123 opened this issue Dec 9, 2019 · 2 comments
Open

x509: certificate signed by unknown authority #68

uthappa123 opened this issue Dec 9, 2019 · 2 comments

Comments

@uthappa123
Copy link

I am hit with this message during "Testing with NodeJs App" step. I used a new OpenSSL certificate as per the instructions in the FAQ.

kubectl apply -f https://raw.githubusercontent.com/dgkanatsios/azuregameserversscalingkubernetes/master/artifacts/examples/simplenodejsudp/dedicatedgameservercollection.yaml

Error from server (InternalError): error when creating "https://raw.githubusercontent.com/dgkanatsios/azuregameserversscalingkubernetes/master/artifacts/examples/simplenodejsudp/dedicatedgameservercollection.yaml": Internal error occurred: failed calling webhook "aks-gaming-webhookserver-mutation.azuregaming.com": Post https://aks-gaming-webhookserver.dgs-system.svc:443/mutate?timeout=30s: x509: certificate signed by unknown authority

Is this because I am using OpenSSL, instead of a valid CA. Is there a way to get past this without actually procuring a cert from a CA?

@hieumoscow
Copy link

Hi @uthappa123,
You can temporarily deploy my version of api server instead in the meantime.
https://raw.githubusercontent.com/hieumoscow/azuregameserversscalingkubernetes/master/artifacts/deploy.apiserver-controller.yaml

I will make a PR for the Self-signed OpenSSL guide when I have it.
Hieu

@uthappa123
Copy link
Author

Thanks a lot. That worked!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants