Jan 31, 2011

WCF Service over HTTPS / SSL with basicHttpBinding


  1. In IIS, set "Require secure channel (SSL)" option for the site / virtual directory.

  2. In web.config, set <bindings><basicHttpBinding><binding...><security mode="Transport">.

  3. In web.config, set <system.serviceModel><behaviors><serviceBehaviors><behavior...><serviceMetadata httpsGetEnabled="true"/>

No comments:

Post a Comment