azuregameserversscalingkubernetes icon indicating copy to clipboard operation
azuregameserversscalingkubernetes copied to clipboard

x509: certificate signed by unknown authority

Open uthappa123 opened this issue 5 years ago • 2 comments

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?

uthappa123 avatar Dec 09 '19 22:12 uthappa123

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

hieumoscow avatar Dec 12 '19 03:12 hieumoscow

Thanks a lot. That worked!

uthappa123 avatar Dec 13 '19 00:12 uthappa123