An Azure service that is used to route incoming network traffic for high performance and availability.
Hello @Durgesh Mishra
Your understanding is correct. Azure Traffic Manager does not terminate or proxy HTTPS traffic. It only answers the DNS query with the selected endpoint; the browser then connects directly to that endpoint and performs the TLS handshake there.
Because Edge reports that the certificate itself is valid, look beyond the certificate first. A page can still show as Not secure if, for example, the HTML loads over HTTPS but some page resources load over plain HTTP (mixed content).
One useful test is to open Edge Developer Tools → Console and Network, reload the page through Traffic Manager, and look for mixed-content warnings, HTTP resources, redirects, or requests going to a different hostname.
Also, compare DNS and TLS results between the working and failing paths:
nslookup www.example.com
curl -Iv https://www.example.com/
openssl s_client -connect <resolved-IP>:443 \
-servername www.example.com
The -servername option is particularly important because it tests SNI using www.example.com. Your *.example.com certificate should cover www.example.com, but each NGINX endpoint returned by Traffic Manager must be configured to serve that certificate for the www.example.com SNI hostname.
Also check whether Traffic Manager has multiple endpoints. If only one NGINX endpoint has the correct certificate/configuration, DNS-based routing could explain why bypassing Traffic Manager works while normal access behaves differently.
Traffic Manager's HTTPS health probe won't catch a certificate/SNI problem because Microsoft states that HTTPS monitoring does not validate the TLS certificate; it only checks that a certificate is present.
So, compare each Traffic Manager endpoint individually using the same Host/SNI name, and also check the Edge Console. If you can share the exact Edge security warning or Console message (with the actual domain/IP removed if necessary), that should narrow this down considerably.
References:
How Azure Traffic Manager works
Azure Traffic Manager endpoint monitoring
Secure an Azure Traffic Manager deployment
Help make this community better for everyone: If this answer helped or resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution. Thank you.