Hammy has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, I have a issue with Perl that I can not find any information on and I'm hoping someone has some info that could set me in the correct direction. I have a soap client (using Soap Lite) that I am using that is accessing a .NET service. The .NET service is checking my certificate from my server. I physicaly sent them the public part of the cert for them to register with the .NET service. I don't know anything about .NET, but I assume they set up their service to say only accept requests that come with this certificate attached. I have no idea how to attach the certificate. My Soap is quite simple
use SOAP::Lite +trace; my $s = SOAP::Lite -> uri('https://www.webmdhealth.com/SoapService/SoapService') ->proxy('https://stagingdi.webmdhealth.com/SoapService/SoapService. +asmx') -> on_action(sub{sprintf '%s', @_ }); my $data = SOAP::Data->name('data' => '<some XML data>')->type('string +')->uri('https://www.webmdhealth.com/SoapService/SoapService'); $result = $s->PerformUpdate($data)->result;
Does my question make any sense? If it does, does anyone know if I need some kind of module or something else to force the header to go. I am calling the Soap Service from the server that houses the SSL cert in question. Thanks.

Replies are listed 'Best First'.
Re: Using Soap to pass x509 certificate
by Anonymous Monk on Sep 15, 2004 at 04:15 UTC
      My SSL is provided by Thawte and it is registered to https://www.thedialogcenter.com. I am looking to find a way to add the certificate to the header of my Soap Request. I will look at Crypt::SSLeay, but from a glance, it looks like encryption algorithms. I need to attach a certificate to the Soap client. The certificate is not used for encryption, it acts as a digital signiture to prove I am someone who should be making these requests for the server.