Wednesday, 15 January 2014

ssl - WinHttp TLS connection in classic asp -


I am trying to send payment data to SagePay and, because they are closing SSL, they are TLS

I have such code:

  set httpRequest = Server.CreateObject ("WinHttp.WinHttprequest.5.1") HttpRequest. Open "POST", CSRR (Strippers), false httpRequest.setRequestHeader "Content Type", "Application / X- www-Form-URLXode" httpRequest.send strPost strResponse = httpRequest.response.ext  
< P> I'm told that adding an option gives you the ability to use the protocol, but I have found that there is only one:

  HttpRequest Application (9) = 2720  

which allows TLS and SSL but it can only be TLS, does anyone know what code is needed or do I have something And

option 9 which is

SSL 2.0: 0x0008
SSL 3.0: 0x0020
Transport Layer Security (TLS) 1.0: 0x0080

then

  httpRequest Option (9) = & amp; H80  

No comments:

Post a Comment