Mercurial > public > mercurial-scm > hg-stable
diff tests/test-https.t @ 15997:a45516cb8d9f stable
sslutil: more helpful fingerprint mismatch message
This will aid debugging for users of sites that renew certs.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 26 Jan 2012 11:23:15 -0600 |
parents | c3e958b50a22 |
children | 093b75c7b44b |
line wrap: on
line diff
--- a/tests/test-https.t Thu Jan 26 11:23:14 2012 -0600 +++ b/tests/test-https.t Thu Jan 26 11:23:15 2012 -0600 @@ -225,7 +225,8 @@ - fails when cert doesn't match hostname (port is ignored) $ hg -R copy-pull id https://localhost:$HGPORT1/ - abort: invalid certificate for localhost with fingerprint 28:ff:71:bf:65:31:14:23:ad:62:92:b4:0e:31:99:18:fc:83:e3:9b + abort: certificate for localhost has unexpected fingerprint 28:ff:71:bf:65:31:14:23:ad:62:92:b4:0e:31:99:18:fc:83:e3:9b + (check hostfingerprint configuration) [255] - ignores that certificate doesn't match hostname