We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d92b7b commit 57852d4Copy full SHA for 57852d4
1 file changed
lib/LWP/Protocol/https.pm
@@ -26,7 +26,16 @@ sub _extra_sock_opts
26
};
27
if ($@) {
28
if ($@ =! /^Can't locate Mozilla\/CA\.pm/) {
29
- $@ = "Can't verify SSL peers without knowning which Certificate Authorities to trust";
+ $@ = <<'EOT';
30
+Can't verify SSL peers without knowning which Certificate Authorities to trust
31
+
32
+This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
33
+envirionment variable or by installing the Mozilla::CA module.
34
35
+To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME
36
+envirionment variable to 0. If you do this you can't be sure that you
37
+communcate with the expected peer.
38
+EOT
39
}
40
die $@;
41
0 commit comments