Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

HTTPS fails with hostname succeeds with ip

Help
2012-02-22
2013-06-06
  • Geraint Lewis
    Geraint Lewis
    2012-02-22

    I have a frustrating issue. I'm trying to connect to nusoap service from VS2008 - I'm using a simple test service. Works fine using http - http://host.domain.com/endpoint.php. Works using https and an ip address - https://123.456.78.9/endpoint.php. Fails when using https and a hostname - https://host.domain.com/endpoint.php. The certificate is valid for the host - although I'm ignoring this using a ServerCertificateValidationCallback. I'm struggling to work out what the problem is - DNS works (http works with fqdn), SSL works (https works with an ip address). Browsing to the end point returns what looks like correct WSDL for all instances.

    Hopefully someone can suggest something.