<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic XMLHTTP connection to API fails at .send in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/XMLHTTP-connection-to-API-fails-at-send/m-p/76297#M47645</link>
    <description>&lt;P&gt;Just wondered if you have come across this before and if you are willing to share the solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connecting to the API using ServerXMLHTTP and it works on my test server flawless (in the sandbox) when I put it on the production server the server IIS throws the following error at the https.send request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dim https&lt;/P&gt;&lt;P&gt;set https=Server.createObject("Msxml2.ServerXMLHTTP.6.0")&lt;/P&gt;&lt;P&gt;http.open "POST",EndPointLink,false&lt;/P&gt;&lt;P&gt;http.setRequestHeader "Content-Type","text/xml"&lt;/P&gt;&lt;P&gt;https.send strRequest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-2147012721&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A security error occurred&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can not find any documentation as to what could cause this and what the solution is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to figure out the differences in setup on the IIS server that works and the one that does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The server that can not connect to the authorize.net API, it does connect fine (in https) to other sites, just not authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a specific port requirement, certificate, type of certificate used that could cause this issue. What is the spec for the API in regard to certificate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am ready to go (test is all working) but it has to work on the production server. Please Help.&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 18:58:43 GMT</pubDate>
    <dc:creator>kbollmann1</dc:creator>
    <dc:date>2021-05-13T18:58:43Z</dc:date>
    <item>
      <title>XMLHTTP connection to API fails at .send</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/XMLHTTP-connection-to-API-fails-at-send/m-p/76297#M47645</link>
      <description>&lt;P&gt;Just wondered if you have come across this before and if you are willing to share the solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connecting to the API using ServerXMLHTTP and it works on my test server flawless (in the sandbox) when I put it on the production server the server IIS throws the following error at the https.send request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dim https&lt;/P&gt;&lt;P&gt;set https=Server.createObject("Msxml2.ServerXMLHTTP.6.0")&lt;/P&gt;&lt;P&gt;http.open "POST",EndPointLink,false&lt;/P&gt;&lt;P&gt;http.setRequestHeader "Content-Type","text/xml"&lt;/P&gt;&lt;P&gt;https.send strRequest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-2147012721&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A security error occurred&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can not find any documentation as to what could cause this and what the solution is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to figure out the differences in setup on the IIS server that works and the one that does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The server that can not connect to the authorize.net API, it does connect fine (in https) to other sites, just not authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a specific port requirement, certificate, type of certificate used that could cause this issue. What is the spec for the API in regard to certificate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am ready to go (test is all working) but it has to work on the production server. Please Help.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 18:58:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/XMLHTTP-connection-to-API-fails-at-send/m-p/76297#M47645</guid>
      <dc:creator>kbollmann1</dc:creator>
      <dc:date>2021-05-13T18:58:43Z</dc:date>
    </item>
  </channel>
</rss>

