dgkanatsios / azuregameserversscalingkubernetes

Scaling Dedicated Game Servers on Azure Kubernetes Service
MIT License
39 stars 16 forks source link

x509: certificate signed by unknown authority #68

Open uthappa123 opened 4 years ago

uthappa123 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Thanks a lot. That worked!