Sometimes you may see this error using PhpBrowser module. Please note the 443 port which is mentioned there. It means that request goes by HTTPS protocol. HTTPS is a secure protocol and by default curl tries to verify the host, but it can be problematic for testing. There are 2 curl options which should disabled in order to make such requests pass.
This is how you can do that in PhpBrowser config: