Here’s something I don’t want to forget… working on a WCF Service…
Using TLS, the address of the wsdl didn’t match what was in the SSL certificate. (the server certificate had the FQDN “friendly name” (host.domain.com), and I was just getting back the “host” name.
Naturally, this was causing problems.
There was lots of guidance about setting the host name using some old vbs script that turned out to be a red-herring for IIS 7, anyway.
The quick & simple solution was to add in the behavior for the service:
<!– To avoid disclosing metadata information,
set the value below to false and remove the metadata
endpoint above before deployment –>
<serviceMetadata httpGetEnabled=“false“ httpsGetEnabled=“true“ />
<!– To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information –>
<serviceDebug includeExceptionDetailInFaults=“True“ />