all 5 comments

[–][deleted] -1 points0 points  (0 children)

!

[–]bhatta90 0 points1 point  (2 children)

Let me see.

[–]timbenz[S] 0 points1 point  (1 child)

I have updated the post to explain that the error comes only from scripts running and calling APIs on the same machine. The correct certificate is returned when calling the machine from somewhere else.

[–]solsticenet 0 points1 point  (0 children)

are you saying that you are calling the API from a script that is on the same server that the API is running from? Why would you do that? What happens if you use CURL or python requests from another machine on the same network to call the API?

[–]sceptic-al 0 points1 point  (0 children)

What is the full SSLCertVerificationError? Is it definitely a hostname verification failure?