Forum Discussion

Jeffrey_42270's avatar
Jeffrey_42270
Icon for Nimbostratus rankNimbostratus
Apr 26, 2012

LTMtoXML Perl script

Hopefully, I'm posting to the correct forum. If not, please forgive the mistake. I have downloaded and tried to run the ltmtoxml perl module. I cannot get past the error

 

 

500 Can't connect to xxx.xxxxx.com:443 (certificate verify failed) at blartman.pl line 127

 

at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 3554

 

SOAP::Lite::__ANON__[/usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm:3554]('SOAP::Lite=HASH(0x9dbd0a0)', '\x{a}not well-formed (invalid token) at line 1, column 3, byte 3 ...') called at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 3742

 

SOAP::Lite::call('SOAP::Lite=HASH(0x9dbd0a0)', 'get_list') called at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 3702

 

SOAP::Lite::__ANON__[/usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm:3706]('SOAP::Lite=HASH(0x9dbd0a0)') called at blartman.pl line 127

 

main::GetConfigXML() called at blartman.pl line 91

 

 

2 Replies

  • I've been using iControl/Perl forever with various platforms (Linux, Mac, Windows) and haven't seen this error come up. But I did a google search on the error and found a suggestion to set the PERL_LWP_SSL_VERIFY_HOSTNAME env variable to 0.

     

     

    Something like this:

     

     

    BEGIN { $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0 }

     

     

    More details on the env variable here: https://metacpan.org/module/LWPENVIRONMENT

     

     

    Hope this helps...

     

     

    -Joe