azuregameserversscalingkubernetes
azuregameserversscalingkubernetes copied to clipboard
x509: certificate signed by unknown authority
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?
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
Thanks a lot. That worked!