Hi,
I am having the exact same problem with the warnings about how setting PERL_LWP_SSL_VERIFY_HOSTNAME to 0 is being deprecated but got a little further along. I'm running Perl v5.16.3 64-bit on Win7 and LWP v6.04. I figured out a different way to at least make it so I can connect to our LTM's that all use self signed certificates without having to use that deprecated way. However, I don't think it is wise since I don't fully understand how the SSL connection is eventually created. I would love to know the right way to accomplish the same thing from the iControl Perl scripts I write without having to change files under the hood. I gather that LWP is used under the covers but could not figure out how to get my scripts to disable certificate checking they way most of the messages on the internet say to do it. So I found the specific file under \Perl\lib\LWP\Protocol\https.pm that handles the SSL part. Change the file so it's read/write and then go to line 14 in my case where the subroutine _extra_sock_opts starts. There is a line that says "$ssl_opts{$SSL_verify_mode} ||= 1". The warning message from above mentions SSL_verify_mode and I suspected that "verify_hostname" was passed from my iControl script and causes this part of the subroutine to execute. I figured I'd change that 1 to a 0 to hard code it, save the file and try it. It did work so I know the lever I need to change. Do you have any idea how I can modify my iControl scripts so LWP disables certificate checking the "right" way? I'm sure it's just a matter of setting some variable in my iControl script just the way LWP is expecting to see it. I've been reading but I believe this is currently way too far out of my Perl abilities.
-p