Cannot able to access AKS application in browser

Gagan-Jit Singh 6 Reputation points
2022-11-16T20:52:50.323+00:00

I am facing a issue, in a test pod (within the cluster), I can able to resolve the domain using cmd :
curl -v -k --resolve example.app.com:<Public_static_IP> https://example.app.com
This command seems to resolve CA certificate for SSL.

However, none of the below command is successful in this pod. Also, none of the curl command resolved when run on windows (external system).
261123-image.png

On Windows:
C:\Users>curl -Iv <public_static_ip>
* Trying <public_static_ip>:443...
* Connected to <public_static_ip> (<public_static_ip>) port 443 (#0)
* schannel: disabled automatic use of client certificate
* schannel: using IP address, SNI is not supported by OS.
* ALPN: offers http/1.1
* schannel: failed to receive handshake, SSL/TLS connection failed
* Closing connection 0
curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed

C:\Users>curl -Iv example.app.com
* Could not resolve host: example.app.com
* Closing connection 0
curl: (6) Could not resolve host: example.app.com]1

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,158 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.