On Wed, Mar 19, 2014 at 4:15 AM, Stefan Baur
<[email protected]> wrote:
> Am 19.03.2014 10:09, schrieb Stefan Baur:
>> Hi List,
>>
>> is there a particular reason why wgetting http://pfsense.org/ip.php
>> gives a blank result? Works just fine when using a regular GUI browser
>> like Firefox, but not on the command line with wget.
>
> Oh. I just noticed it's redirecting to https, and wget throws this error:
>
> ERROR: The certificate of `www.pfsense.org' is not trusted.
>
> What do I have to install to make it work?

Oh you're one of those people that's hammering us with wget requests
to ip.php. :p Was curious why people would be hitting it like that.
There are a few hundred IPs that query it once a minute or so.

We started redirecting everything on www from HTTP to HTTPS about a
week ago or so, with the exception of the packages since PHP XMLRPC
doesn't follow 301s.

It does work fine for me though using wget 1.15 on FreeBSD 10 with the
ca_root_nss package installed and symlinked to openssl's default
/etc/ssl/cert.pem. The built-in fetch also validates it fine.

cmb@fbsd10:~ % ls -l /etc/ssl/cert.pem
lrwxr-xr-x  1 root  wheel  38 Mar 19 16:28 /etc/ssl/cert.pem ->
/usr/local/share/certs/ca-root-nss.crt

wget only added SNI support in v1.14, so that's at least part of why
yours isn't working, too old of a version. Seems you're getting by
fine with curl though.
_______________________________________________
List mailing list
[email protected]
https://lists.pfsense.org/mailman/listinfo/list

Reply via email to