Enabling SSL for my WCF application is having problems
<p>we have developed a WCF webservice and it has been working fine without any requirement of SSL being introduced. Now, before deploying it to Test envirnment we need to make it SSL enabled.</p>

<p>So I came across this link on SO : <a href="https://stackoverflow.com/questions/425978/enable-ssl-for-my-wcf-service">Enable SSL for my WCF service</a></p>

<p>and changed my config file to include following code:</p>

<pre><code> &lt;binding name="BasicHttpBinding_IPromotionalSponsorship" allowCookies="true"
            maxReceivedMessageSize="20000000"
            maxBufferSize="20000000"
            maxBufferPoolSize="20000000"&gt;
      &lt;readerQuotas maxDepth="32"
           maxArrayLength="200000000"
           maxStringContentLength="200000000"/&gt;
         &lt;security mode="Transport"&gt;              
         &lt;/security&gt;
       &lt;/binding&gt;
</code></pre>

<p>While my endpoint looks like following</p>

<pre><code> &lt;endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPromotionalSponsorship"
          name="StandardEndpoint" contract="PL.Commercial.PromoSponsor.Service.Contracts.IPromotionalSponsorship" /&gt;
</code></pre>

<p>But it does not sound like it changed anything still when I run my project, it shows the URL without https.</p>

<p>Now, when i explicitly add 's' in the URl it throws following error:</p>

<blockquote>
  <p>Unable to make a secure connection to the server. This may be a
  problem with the server, or it may be requiring a client
  authentication certificate that you don't have.</p>
</blockquote>

<p>I have created a self-signed certificate and added it to my local IIS. Anything special that I need to change/add?</p>