Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 71944
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: agolovko [...] masterhost.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't use client certificate for request over HTTPS.
Date: Wed, 26 Oct 2011 10:59:44 +0400
To: <bug-SOAP-Lite [...] rt.cpan.org>
From: Alexander Golovko <agolovko [...] masterhost.ru>
In SOAP::Transport documentation there are reference to HTTPS_CERT_FILE and HTTPS_KEY_FILE environment variables for use HTTPS with client certificate. But now Net::HTTPS try use IO::Socket::SSL before try Crypt::SSLeay. IO::Socket::SSL don't process environment variables HTTPS_KEY_FILE and HTTPS_CERT_FILE. We can use workaround by creating bad IO::Socket::SSL in search path before system modules. Modules versions: p5-SOAP-Lite-0.714 p5-Net-HTTP-6.01 -- With best regards Alexander Golovko <agolovko@masterhost.ru> JSC "Masterhost", SA Department
Subject: Re: [rt.cpan.org #71944] Can't use client certificate for request over HTTPS.
Date: Sat, 05 Nov 2011 22:48:50 +0100
To: bug-SOAP-Lite [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Hello Alexander, Am Mittwoch, den 26.10.2011, 03:01 -0400 schrieb Alexander Golovko via RT: Show quoted text
> In SOAP::Transport documentation there are reference to HTTPS_CERT_FILE > and HTTPS_KEY_FILE environment variables for use HTTPS with client > certificate. > > But now Net::HTTPS try use IO::Socket::SSL before try Crypt::SSLeay. > IO::Socket::SSL don't process environment variables HTTPS_KEY_FILE and > HTTPS_CERT_FILE. > > We can use workaround by creating bad IO::Socket::SSL in search path > before system modules.
You can set the PERL_NET_HTTPS_SSL_SOCKET_CLASS environment variable to "Net::SSL" - this will cause Net::HTTPS to default to Crypt::SSLeay. Best regards, Martin
This is a duplicate of https://rt.cpan.org/Ticket/Display.html?id=76902, which describes the issue better. Martin