Curl says “requested domain name does not match the server's certificate,” but it appears to match
问题 I've set up a server on my local network, but I'm stymied troubleshooting HTTPS connections. When I use curl -v to make a request, I'm told, "requested domain name does not match the server's certificate." But the output itself appears to indicate that the domain does match: "reg.qa" What's the real issue here? $ curl -v https://reg.qa/ * Added reg.qa:443:172.18.0.4 to DNS cache * About to connect() to reg.qa port 443 (#0) * Trying 172.18.0.4... * Connected to reg.qa (172.18.0.4) port 443 (#0