Re: Script using LWP suddenly not working...
Bill Moseley <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jun 10, 2008 at 05:12:36AM -0700, Rob Kunkle wrote:
> I think that I need to set the:
>
> $ENV{HTTPS_CA_FILE} = "some_file";
>
> variable of SSLeay, but I'm not sure what it should be set to.
http://search.cpan.org/~dland/Crypt-SSLeay-0.57/SSLeay.pm#ENVIRONMENT_VARIABLES
shows:
# CA cert peer verification
$ENV{HTTPS_CA_FILE} = 'certs/ca-bundle.crt';
There used to be that file included with Apache's mod_ssl. I have a
number of ca-bundle.ca files around:
$ locate ca-bundle.crt
/etc/apache/ssl.crt/ca-bundle.crt
/home/moseley/mutt-1.5.16/contrib/ca-bundle.crt
/home/moseley/mutt_deb_source/mutt-1.5.16/contrib/ca-bundle.crt
/usr/share/apps/kssl/ca-bundle.crt
Maybe you have one that will work, too.
--
Bill Moseley
[email protected]
Sent from my iMutt