title: Call a HTTPS WCF Service with Certificate authentication
body: <p>i create a wcf service and hosted it on windows azure. The wcf service is a https one. When ever i call the service the client needs a certificate to verify its authenticity.</p>
  
  <p>When i type the service url on broswer it asks for a verifying certificate and the serivce runs.</p>
  
  <p><img src="https://i.stack.imgur.com/dllWn.png" alt="enter image description here"></p>
  
  <p>So far so good.</p>
  
  <p>Now i need to access the same service in an MVC 4 application. So i made a simple ajax call.</p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(function () {
      $("#GetAdjustedSalary").click(function () {
          var salary = parseFloat($("#salary").val());
          var infalation = parseFloat($("#inflation").val());
  
          $.ajax({
              url: "https://newtonsheikh.cloudapp.net/SalaryService.svc/adjustedsalary?a=" + salary + "&amp;b=" + infalation,
              type: "GET",
              dataType: "JSON",
              contentType: "application/json",
              success: function (data) {
                  alert(data);
              }
  
          });
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>But i dont get the result. Instead i always get abort error 403.</p>
  
  <p><img src="https://i.stack.imgur.com/cP5c9.png" alt="enter image description here"> 
  <img src="https://i.stack.imgur.com/u0Dgx.png" alt="enter image description here"></p>
  
  <p>Do i need to write something on the web.config file in the MVC application? I am stuck and really need help out here. </p>
  
  <p>Thanks</p>