So I've got this three line script:
#!/usr/bin/perl
use LWP::Simple;
my @lines = split(/\n/, get("https://sdo.gsfc.nasa.gov/"));
and it generates this error:
*******************************************************************
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER
possibly 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 /usr/lib64/perl5/LWP/Protocol/http.pm line 35.
Can somebody help me understand where/how I can set this variable in my script?
In our last episode, the evil Dr. Lacto had captured our hero,
Rainer Weikusat <rweikusat@talktalk.net>, who said:
hymie! <hymie@nasalinux.net> writes:
So I've got this three line script:
#!/usr/bin/perl
use LWP::Simple;
my @lines = split(/\n/, get("https://sdo.gsfc.nasa.gov/"));
and it generates this error:
*******************************************************************
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER
possibly 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 /usr/lib64/perl5/LWP/Protocol/http.pm line 35.
Can somebody help me understand where/how I can set this variable in my
script?
Seems to be[*] the ssl_opts attribute of LWP::UserAgent.
[*] I'm not using this module.
I'm not using LWP::UserAgent (at least, not directly). That's why I'm so confused as to what the error message wants me to do.
hymie! <hymie@nasalinux.net> writes:
So I've got this three line script:
#!/usr/bin/perl
use LWP::Simple;
my @lines = split(/\n/, get("https://sdo.gsfc.nasa.gov/"));
and it generates this error:
*******************************************************************
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER
possibly 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 /usr/lib64/perl5/LWP/Protocol/http.pm line 35.
Can somebody help me understand where/how I can set this variable in my
script?
Seems to be[*] the ssl_opts attribute of LWP::UserAgent.
[*] I'm not using this module.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 74:00:57 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,501 |
Posted today: | 1 |