rlb63_75866
Apr 15, 2016Nimbostratus
Thanks
We had a few issues with the script. One which may have been related to the system used to run the Perl and SOAP Lite related to certificate trust. Here is the error.
500 Can't verify SSL peers without knowing which Certificate Authorities to trust at ./PerlLtmConfigToXml.pl line 128.
We added this to the code to not verify SSL
use SOAP::Lite + trace => qw(method debug);
----------------------------------------------------------------------------
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
use IO::Socket::SSL;
IO::Socket::SSL::set_defaults(SSL_verify_mode => "SSL_VERIFY_NONE");
use SOAP::Lite + trace => qw(method debug); use SOAP::Lite;
use SOAP::Lite;
Also, the first virtual server in our xml output had no destination address:port and all the other virtual server destination ip's and member ip's were off
We solved this by modifying the print statement variables:
ORIGINAL
$daddr = $destination->{"address"};
$dport = $destination->{"port"};
print " \n";
NEW
$daddr = $destination->{"address"};
$dport = $destination->{"port"};
print " \n";