In Mac OS X 10.8, if you use Hg clone https: xxxx.org, there will be warning, which is mainly caused by security authentication. To avoid this problem, follow these steps:
1. Enter the command line mode and run the following command to generate an authentication file. Do not be in trouble. Do not download the authentication file on the network:
OpenSSL req-New-X509-extensions v3_ca-keyout/dev/null-out dummycert. pem-days 3650
A dummycert. PEM is generated,
2. Copy the authentication file to the/etc directory:
Sudo CP dummycert. PEM/etc/hg-dummy-cert.pem
3. Create a configuration file:
VI/etc/mercurial/hgrc
Add the following content:
[Web] cacerts =/etc/hg-dummy-cert.pem
4. Try again to clone a repo,
Hg clone https://xxx.xxx
Solved the problem. The test was successful.
Appendix:
Mercurial: http://mercurial.berkwood.com/binaries/Mercurial-2.1.2-py2.7-macosx10.7.zip