wk Mercurial list find blog view edit

Mercurial



Server setup:

in .hg/hgrc:
[web]
allow_push=*
certificate=/home/pandas/home/ssl/host.pem


Generate SSL cert:


openssl req -x509 -nodes -days 1825 -newkey rsa:1024 -keyout host.pem -out host.pem

openssl pkcs12 -export -out host.pfx -in host.pem -name “My Certificate”

openssl x509 -outform der -in ./host.pem >> host.cer


Needs to have pyOpenSSL installed.

no auth in this way..needs htaccess and use of hg.cgi

Start the server with:

$ hg serve -p 1234