i am trying to create a client connection to an internal ssl site that does not have a certificate and needs to bypass the proxy.
use RPC::XML::Client; use XML::Simple; use LWP::Protocol::https; $ENV{NO_PROXY} = '10.*'; $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0; my $client = RPC::XML::Client->new("https://10.40.1.114/api/index.ice" +, no_proxy => ['10.*',], ssl_opts => { #verify_hostname => 0, # SSL_use_cert => 0, SSL_verify_mode => VERIFY_NONE }, );
Yet i am still getting this ugly warning:
******************************************************************* Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER together with SSL_ca_file|SSL_ca_path for verification. If you really don't want to verify the certificate and keep the connection open to Man-In-The-Middle attacks please set SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application. ******************************************************************* at C:/strawberry/perl/site/lib/LWP/Protocol/http.pm line 31
I am creating the Client, but i'd like to get rid of the warning. You assistance is greatly appreciated. Thanks
In reply to ssl options for RPC::XML::Client by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |