Alexander Kapshuk wrote on 30.08.2012 00:34:
On 08/29/12 22:00, Ruslan Mahmatkhanov wrote:
Hi,
Alexander Kapshuk wrote on 19.08.2012 21:45:
How do I add an CA Certificate for Mercurial on FreeBSD please?
:; uname -a
FreeBSD box2 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 17
21:53:39 EEST 2012 root@box2:/usr/obj/usr/src/sys/GENERIC i386
:; pkg_info -xc mercurial | sed 1q
Information for mercurial-2.3:
Thanks.
As far I understand, FreeBSD doesn't come prepackaged with root CA
certificates like other systems do (it's not 146%, but seems so). So,
I'd follow recommendation from [1] in part "2.7. Other platforms".
- download CA list from [2]
- put this lines into your ~/.hgrc:
[web]
cacerts = /place/where/you/put/cacert.pem
Hope this helps.
[1] http://mercurial.selenic.com/wiki/CACertificates
[2] http://curl.haxx.se/docs/caextract.html
OK. Thanks. I'll give that a try.
Just realized that there is security/ca_root_nss that installs the certs
into /usr/local/share/certs and the port itself asks if you want to
create symlink to it in /etc/ssl/cert.pem. You may add any of them into
your ~/.hgrc. Please let me know if it works for you, and if it is, it
should be added into mercurial's wiki, and maybe to our mercurial port
as pkg-message or so.
--
Regards,
Ruslan
Tinderboxing kills... the drives.
_______________________________________________
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"