EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to install and Certificates HTTPRIO connection

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#27555
Posted: 12/04/2013 01:00:00
by SOLMAZ GUMRUK (Basic support level)
Joined: 12/04/2013
Posts: 1

I import the WSDL file. GetCA from the WSDL file that were imported rust is in the function. The following example of a block of code when I run the program Where the function is called whoami in receipt of the certificate has not been installed error. How to install and Certificates HTTPRIO connection?

Code
begin
HTTPRIO1.WSDLLocation := defWSDL;
HTTPRIO1.Service := defSvc ;
HTTPRIO1.Port := defPrt ;
HTTPRIO1.URL := defURL;

b:=WhoAmIMessage.Create;
a :=ReplyMessage.Create;
Cert:=TElX509Certificate.Create(nil);


try

F := TFileStream.Create(CertFile, fmOpenRead or fmShareDenyWrite);

CERT.LoadFromStreamPFX(f,CertPass);
F.Position := 0;

HTTPRIO1.HTTPWebNode.OnBeforePost:= OnBeforePost;

Trs:=GetCA(True,' ',HTTPRIO1) ;

B:=Trs.WhoAmI;
ShowMessage(BoolToStr(B.IsAuthenticated));

finally
a.Free;
b.Free;
Cert.Free;
FreeAndNil(F);
end;
end;
#27556
Posted: 12/04/2013 01:51:00
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

We do not support integration with HTTPRIO component. Please consider using our TElHTTPSClient component instead: https://www.eldos.com/documentation/sb...lient.html

You can find extensive samples of its usage in SecureBlackbox distributive.

Reply

Statistics

Topic viewed 965 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!