Subject: | Warning when used together with LWP::UserAgent |
I am getting this:
*******************************************************************
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
is depreciated! 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.
*******************************************************************
Not sure why. I use LWP::UserAgent with $ua->ssl_opts( verify_hostname
=> 1 )
This only happen when I update IO::Socket::SSL to latest version.