[PATCH] url: support client certificate files over HTTPS (issue643)

timeless timeless at gmail.com
Mon Jun 8 11:47:21 CDT 2009


Henrik Stuart wrote:
> This extends the httpshandler with the means to utilise the auth

someone will yell at me, but is Hg using British or American (utilize) spelling?
I just arrived in London :)

> section to provide it with a PEM encoded certificate key file and
> certificate chain file.

> This works also with sites that both require

This also works with sites which require both

> client certificate authentication and basic or digest password
> authentication, although the latter situation may require the user to
> enter the PEM password multiple times.

> diff -r f037187a6f68 -r 818b2a9d1fe1 doc/hgrc.5.txt
> +    Optional. Username to authenticate with. If not given, and the

(not your fault, but while I'm here)

Username with which to authenticate.

If omited and the remote site ...

> +    remote site requires basic or digest authentication, the user
> +    will be prompted for it.
>   password;;
> -    Optional. Password to authenticate with. If not given the user
> +    Optional. Password to authenticate with. If not given, and the
> +    remote site requires basic or digest authentication, the user

ibid.



More information about the Mercurial-devel mailing list