in reply to LWP::Simple: Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated!

I recall having a problem with this many moons ago. I wound up setting the environment variable before calling the constuctor, that worked for me. I've since made it work in other applications by using the ssl_opts. I'll see if I can find that code and post it for you. But in the meantime, set the environment variable to '1' and you should be okay.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
  • Comment on Re: LWP::Simple: Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated!

Replies are listed 'Best First'.
Re^2: LWP::Simple: Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated!
by Anonymous Monk on Jun 10, 2014 at 00:58 UTC
    Thanks. I tried this several different ways (in begin blocks, outside of them, SSL_VERIFY_NONE, PERL_LWP_SSL_VERIFY_HOSTNAME, in the constructor...) ... no luck. I think it's because I did some upgrades relatively recently due to heartbleed, but for the life of me can't figure it out. Any suggestions you can offer are greatly appreciated. I'm stuck!