title: The certificate authority is invalid or incorrect
body: <p>Have called many restful services from asp before - but this one has me stumped.
  First my func looks like</p>
  
  <pre><code>Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") 
  with objHTTP 
  .open "post", x_posturl, False 
  .setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
  .send x_xmlstr
  end with
  </code></pre>
  
  <p>and the error returned is</p>
  
  <blockquote>
    <p>msxml3.dll error '80072f0d'  The certificate authority is invalid or
    incorrect</p>
  </blockquote>
  
  <p>so, googled a bit and suggestion was to add line</p>
  
  <pre><code>.setOption 2, 13056
  </code></pre>
  
  <p>this gives error</p>
  
  <blockquote>
    <p>msxml3.dll error '80072f0c'  A certificate is required to complete
    client authentication</p>
  </blockquote>
  
  <p>I then contacted service supplier and they suggested</p>
  
  <blockquote>
    <p>Click on the certificate error next to the address bar, view the
    certificate, select Details, select Copy to File, and download it to a
    file.  Install that into your trusted certificates on your server to
    stop the error appearing when trying to submit data.</p>
  </blockquote>
  
  <p>So, tried that using instructions <a href="http://blogs.technet.com/b/sbs/archive/2007/04/10/installing-a-self-signed-certificate-as-a-trusted-root-ca-in-windows-vista.aspx" rel="noreferrer">here</a> - but still no joy, any help appreciated</p>