Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

what could be the possible cause of this WARNINGS? i can make the SSL warnig stop but still error connecting to URL is there.

******************************************************************* 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:/Perl/lib/LWP/Protocol/http.pm line 31. Error connecting to URL https://careers-ketchum.icims.com/jobs/search? +ss=1&searc hKeyword=&searchLocation=&searchCategory. Restart script required... (Error GETing https://careers-ketchum.icims.com/jobs/search?ss=1&searc +hKeyword=& searchLocation=&searchCategory: Can't connect to careers-ketchum.icims +.com:443 a t C:\Users\Jingu\AppData\Local\Temp\dir8CA9.tmp\Save_content_test.pl l +ine 31. )

thanks

Replies are listed 'Best First'.
Re: Error connecting to Https URLs when trying with www:: mechanize
by Corion (Patriarch) on Jul 25, 2013 at 07:00 UTC

    I'm not sure what your question is about here?

    The warning is because you use the default of SSL_verify_mode, which is SSL_VERIFY_NONE. This default is deprecated because it leads to a sense of false security as it allows easy man-in-the-middle (MITM) attacks.

    The error you are getting is likely unrelated to that warning. It means that you can't connect to the host. Maybe there is a proxy between the two machines? Maybe you need to set up $ENV{HTTPS_PROXY} properly.

    As you don't show the relevant code, it's hard to advise further.

Re: Error connecting to Https URLs when trying with www:: mechanize
by Loops (Curate) on Jul 25, 2013 at 07:15 UTC