[pm_lwp_protocol_https 0005258]: pm_lwp_protocol_https tell is installed but not working

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Wed Jun 15 10:01:09 CEST 2016


The following issue requires your FEEDBACK. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5258 
====================================================================== 
Reported By:                ggbce
Assigned To:                dam
====================================================================== 
Project:                    pm_lwp_protocol_https
Issue ID:                   5258
Category:                   
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2015-11-13 22:58 CET
Last Modified:              2016-06-15 10:01 CEST
====================================================================== 
Summary:                    pm_lwp_protocol_https tell is installed but not
working
Description: 
In very short story, I installed "pm_lwp_protocol_https" required for my
"fi_agent" that report through a GLPI server in https. But I got an error
telling the "lwp protocol https" is not installed. I also tried with a
basic Perl script that call a secure website and I got the same error like
the Perl Module LWP protocol https is not installed.

I installed it by the normal method /opt/csw/bin/pkgutil -y -i
pm_lwp_protocol_https and the setup is done successfully. It's like it
installed... but not really installed (due to missing compilation or loaded
modules Under Perl)
====================================================================== 

---------------------------------------------------------------------- 
 (0011154) dam (administrator) - 2016-06-15 10:01
 https://www.opencsw.org/mantis/view.php?id=5258#c11154 
---------------------------------------------------------------------- 
Works for me:

dam at login [login]:/home/dam/tmp > more lwp.pl 
#!/opt/csw/bin/perl


use LWP::UserAgent;

$ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 1 });
$res = $ua->get("https://www.example.com");

if ($res->is_success) {
  print $res->decoded_content;  # or whatever
} else {
  die $res->status_line;
}



dam at login [login]:/home/dam/tmp > ./lwp.pl 
<!doctype html>
<html>
<head>
    <title>Example Domain</title>

    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <style type="text/css">
    body {
        background-color: #f0f0f2;
        margin: 0;
...



More information about the bug-notifications mailing list