This was also my interest, so I setup stunnel (running as front-end to HG on my Raspberry Pi). I'm using CAcert.org server certificate.
Thanks, your stunnel configuration seems similar to my nginx one. Pretty much any proxy solution would work, and I'm sure the dev's would be happy to get example config files for any service.
thanks for all your work on this. does this make hg secure from remote access, or only to android app? there was a tgrea that showed the password could be recovered by a remote site, does your change prevent that?
Hi, the part that makes HG secure is the proxy. Basically, I use a piece of software called nginx to act as a proxy, so when I go to
https://external.server.name/ it proxies to
http://localhost. This means the insecure traffic only exists on the local machine, and not on the network. This is the part that I offered to write instructions on, but am waiting to hear back from the developers. With nginx setup properly, using the web browser to access HG remotely is secure.
The changes I made to the Android app just allow it to connect to HG through nginx securely, just like through the Web Browser.
Thanks.