Error in classic asp while making request from windows server 2008

MAVERIK

New Member
The below code is working fine in classic asp in windows 7 IIS and in windows server 2008 its giving error (as shown below).
Here is code\[code\]url = "https://api.test.credex.net:10001/merchant/xxxx/requests" set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", url, false xmlhttp.setOption(2) = 13056 xmlhttp.setOption(3) = "/credex/credex_net_ext_bundle.pem" xmlhttp.setRequestHeader "Content-Type", "application/json" xmlhttp.setRequestHeader "Accept", "application/json" xmlhttp.setRequestHeader "Authorization", "Basic "&Base64Encode("xxxxxxxx") xmlhttp.send postData Response.write xmlhttp.responseText set xmlhttp = nothing\[/code\]Error:Category : msxml3.dll
Column : -1
Brief Description : The client and server cannot communicate, because they do not possess a common algorithm.
line no is pointed to "xmlhttp.send postData"
 
Back
Top