Re: Self-signed certificate error reported when using wget

sebb <[email protected]>
Newsgroups gmane.comp.jakarta.repository
Message-ID <[email protected]>
On 7 January 2011 19:54, Brian Demers <[email protected]> wrote:
>
> Tt depends on your OS and how you installed wget.  For example mac ports
> wget does not tie into the system certs (if I remember correctly) but
> version of curl provided does.  Something like that anyway.
>

Thanks, the curl reference has helped.

wget reports a warning on both people.a.o and my Windows XP box.

curl is happy on people, but warns on Windows.

I've discovered that

wget --ca-certificate /etc/ssl/cert.pem ...

works on people.a.o, and both curl and wget work on Windows with that
cert.pem file, so problem solved!

Thanks.

>
> On Fri, Jan 7, 2011 at 1:58 PM, sebb <[email protected]> wrote:
>>
>> I use wget to download release candidates for reviewing, but I get the
>> following message:
>>
>> ERROR: cannot verify repository.apache.org's certificate, issued by
>> `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
>> Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure
>> Certification Authority/serialNumber=07969287':
>>  Self-signed certificate encountered.
>> To connect to repository.apache.org insecurely, use
>> `--no-check-certificate'.
>>
>> [I don't get the same error when using a browser.]
>>
>> Although I can use the --no-check-certificate option, this is not ideal.
>>
>> Is there a way to add the certificate such that wget can download from
>> r.a.o without reporting the error?
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.