![Восстановление сертификатов CA по умолчанию на Mac OSX 10.7](https://rvso.com/image/1302241/%D0%92%D0%BE%D1%81%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5%20%D1%81%D0%B5%D1%80%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%82%D0%BE%D0%B2%20CA%20%D0%BF%D0%BE%20%D1%83%D0%BC%D0%BE%D0%BB%D1%87%D0%B0%D0%BD%D0%B8%D1%8E%20%D0%BD%D0%B0%20Mac%20OSX%2010.7.png)
Я немного повозился со своим Mac, пытаясь установить самоподписанный сертификат как доверенный для нашего сайта WAN (из-за чего мы не можем оправдать оплату за настоящий подписанный сертификат)
Я что-то сломал и хотел бы узнать, как это восстановить (даже с другого Mac, если понадобится, у меня есть полностью рабочий Macbook, который я еще не ломал, и машины моих коллег).
Вот что я получаю, пытаясь использовать curl для загрузки чего-либо через SSL:
$ brew install memcached
==> Installing memcached dependency: libevent
==> Downloading https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz
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). If the default
bundle file isn't adequate, 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.
Error: Download failed: https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz