curl https 網站 出現報錯 解決辦法: You can use the domain name as usual but override the resolver like so: curl -v --resolve subdomain.example.com:443:x.x.x.x https://subdomain.example.com/ It might be awkward to maintain a lot of such mappings though. You might prefer to just ignore the cert mismatch: curl --insecure https://subdomain.example.com/