On Fri, Sep 09, 2005 at 05:32:46PM +0400, Anton Farygin wrote: > On Fri, 09 Sep 2005 14:32:28 +0400, Alexey Tourbin wrote: > > > On Fri, Sep 09, 2005 at 12:15:43PM +0300, Michael Shigorin wrote: > >> > > Не понял. wget походу вообще "сломан" по > >> > > части https. > >> > Попробуй curl, он более крут в этом плане > >> > чем wget есть еще libcurl, может быть есть > >> > какая-то обвязка к ней для perl'а > >> Кстати, да. > > > > Уй, но должен быть какой-нибудь > > стандартный инструмент под названием > > "скачать урл и положить в файло". Тем > > более что wget -- ГНУтый. > > инструмент есть. называется curl > > curl url >файл $ curl https://bugzilla.altlinux.ru/ >/dev/null; echo $? curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). The default bundle is named curl-ca-bundle.crt; you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. 60 Так что нужно или добавлять сертификат CA (раз уж он левый) в соответствующий файл, или забить на безопасность и отрубить проверку. Причём wget ищет сертификаты в /var/lib/ssl/cert.pem, а curl - в /usr/share/curl/curl-ca-bundle.crt.