Delphi 7 - Inform A3 Certificate on Indy HTTP

1

Hello, I'm trying and unsuccessful so far to perform the integration with a web service, where I use the Indy HTTP component, updated to version 10 in Delphi 7 to access and make a GET using XML and JSON in a Web Service REST, however it is necessary to use the digital certificate, which is on an A3 Token that can not be exported to a .cer file with the private key.

I can read the certificate token using CAPICOM's libs and DLLs, but I can not tell the IdSSLIOHandlerSocketOpenSSL to use the certificate.

The WS that I need to access is this: link

The curious thing is that accessing the machine that I am certified to get the error 401 Unauthorized, the same as I get when sending with IdHTTP, but on another machine without the certificate installed I get a different error, "No resource method found for GET, return 405 with Allow header "

    
asked by anonymous 27.10.2017 / 01:15

0 answers