Vmware-nagios-icinga

Aus xinux.net
Zur Navigation springen Zur Suche springen

bugfix

7. Re: SSL_verify_mode of SSL_VERIFY_NONE for client  is depreciated!
degdoo Lurker
degdoo	(1 Postings seit 24.12.2012) 26.12.2012 08:37 (als Antwort auf: gman_84)

I have gotten the same problem and now, I found out the cause for my environment.

 

1. https_proxy

My environment is befind a proxy, and "export https_proxy=..." seemed to be evil for vCLI.

If you are using proxy, try "unset https_proxy".

 

2. Perl_module version

As mentioned in http://search.cpan.org/~gaas/libwww-perl-6.04/lib/LWP/UserAgent.pm,

LWP will for secure protocol schemes ensure it connects to servers that have a valid certificate matching the expected hostname.
 
 
 

in newer version than libwww-perl-5.837. libwww-perl-5.837 and earlier releases have no problem.

 

So what I did is,

 

remove ~/.cpan files and reinstall libwww-perl for my env.

 

cpan> i /libwww-perl/

...
Distribution    GAAS/libwww-perl-5.837.tar.gz
Distribution    GAAS/libwww-perl-6.01.tar.gz
Distribution    GAAS/libwww-perl-6.04.tar.gz
Author          LWWWP ("The libwww-perl mailing list" <libwww@perl.org>)
4 items found
cpan> install GAAS/libwww-perl-5.837.tar.gz
and now, my vCLI is working well.

Hope this help you.