logo       
Google Custom Search
    AddThis Social Bookmark Button

SSL client certificate: msg#00017

Subject: SSL client certificate
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I'm new to the list and NuSOAP itself and are very pleased with this
piece of software :)

I've seen some posts on the list talking about client certificate
problems. In my case was the client certificate import password (curl
CURLOPT_SSLCERTPASSWD option). In "nusoap.php" at line 2200 it's the
section which sets the SSL curl options and that option does not
appear. I solved that adding this few lines to "nusoap.php" (after
line 2231) ...

> if (isset($this->certRequest['certpassword'])) {
>     curl_setopt($this->ch, CURLOPT_SSLCERTPASSWD , 
> $this->certRequest['certpassword']);
> }

... and adding the "certpassword" key to the "$certRequest" array when
invoking the "setCredentials" method of the "soapclient" class. That
solved the issue.


Greetings from Spain

- --
David Blanco - Programación y sistemas
Publicinet (Publicidad-Cine-Internet, S.L.)
Urzaiz, 71, entlo, izda. -- 36204 Vigo
Telf 902.014.606 -- http://www.publicinet.net


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFklh5dbgIy1SiWTARAsmWAJ4+RkyzDTU8QuVlkb54lKyJU2W8MQCgyocd
u+UVkEnRSrxAJByljJTS74A=
=vsMY
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>