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 <[email protected]>, who said:
hymie! <[email protected]> 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! <[email protected]> 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: | 715 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 19:06:52 |
| Calls: | 12,104 |
| Calls today: | 4 |
| Files: | 15,004 |
| Messages: | 6,518,087 |