[Bug 211537] New: LWP (libwww) lacks support for HTTPS ("Can't locate Net/SSL.pm")
https://bugzilla.novell.com/show_bug.cgi?id=211537 Summary: LWP (libwww) lacks support for HTTPS ("Can't locate Net/SSL.pm") Product: SUSE Linux 10.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Ulrich.Windl@rz.uni-regensburg.de QAContact: qa@suse.de Module "LWP" (libwww) does not support HTTPS out of the box ("LWP will support https URLs if the Crypt::SSLeay module is installed."). However the package closest to Crypt::SSLEay is perl-Net_SSLeay, which lacks Crypt::SSLeay. However it does contain a Net::HTTPS module. Unfortunately "use Net::HTTPS" triggers a "Can't locate Net/SSL.pm" at HTTPS.pm line 15, because there is only a Net::SSLeay provided by perl-Net_SSLeay. How to get HTTPS support for Perl? (Actually found in SLES10) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211537 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |anicka@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211537 ------- Comment #5 from Ulrich.Windl@rz.uni-regensburg.de 2006-10-24 01:07 MST ------- Created an attachment (id=102402) --> (https://bugzilla.novell.com/attachment.cgi?id=102402&action=view) Perl test program to demonstrate the problem Program will output: HEAD request for URI https://bugzilla.novell.com/ failed: 501 Protocol scheme 'https' is not supported (Crypt::SSLeay not installed) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211537 ------- Comment #6 from Ulrich.Windl@rz.uni-regensburg.de 2006-10-24 01:08 MST ------- Note: The "HEAD" request should actually read "GET". ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211537 ------- Comment #8 from mc@novell.com 2006-10-27 09:31 MST ------- Should work with IO::Socket::SSL Ulrich have you tried this: use LWP::UserAgent; require IO::Socket::SSL; require Net::HTTPS; #use LWP::Debug qw(+); #$ENV{'HTTPS_DEBUG'} = 1; #$IO::Socket::SSL::DEBUG = 1; push(@LWP::Protocol::http::EXTRA_SOCK_OPTS, 'SSL_ca_path', $CA_PATH); push(@LWP::Protocol::http::EXTRA_SOCK_OPTS, 'SSL_ca_file', undef); push(@LWP::Protocol::http::EXTRA_SOCK_OPTS, 'SSL_verify_mode', 0x01 | 0x02 | 0x04); push(@LWP::Protocol::http::EXTRA_SOCK_OPTS, 'SSL_error_trap', \&ssl_error); sub ssl_error { my $sock = shift; my $errstr = shift; $sock->close(); print STDERR "$errstr\n"; } ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211537 ------- Comment #9 from Ulrich.Windl@rz.uni-regensburg.de 2006-10-30 01:23 MST ------- OK, I'm one step further ("500 Internal Server Error", but that's my problem for now). The interesting point is that it's not that easy to find out where "Net/SSL.pm" is provided (required for "use Net::HTTPS"). Packet "perl-IO-Socket-SSL" seems to provide that (or one of the alternatives). Maybe the descriptions of the related packets (or preferrably: dependencies) should be revised... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211537 ug@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #10 from ug@novell.com 2006-10-30 01:53 MST ------- closed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com