Mercurial > hg
comparison tests/test-https.t @ 13438:48463d889d4e stable
tests: update test-https.t output
I must have lost the insecure cert warning in a last minute patch series
cleanup of 08f9c587141f.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 18 Feb 2011 03:34:47 +0100 |
parents | 08f9c587141f |
children | d724a69309e0 |
comparison
equal
deleted
inserted
replaced
13437:6169493ac3f9 | 13438:48463d889d4e |
---|---|
241 $ echo "localhost =" >> copy-pull/.hg/hgrc | 241 $ echo "localhost =" >> copy-pull/.hg/hgrc |
242 | 242 |
243 Test unvalidated https through proxy | 243 Test unvalidated https through proxy |
244 | 244 |
245 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --insecure --traceback | 245 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --insecure --traceback |
246 warning: localhost certificate with fingerprint 91:4f:1a:ff:87:24:9c:09:b6:85:9b:88:b1:90:6d:30:75:64:91:ca not verified (check hostfingerprints or web.cacerts config setting) | |
246 pulling from https://localhost:$HGPORT/ | 247 pulling from https://localhost:$HGPORT/ |
247 searching for changes | 248 searching for changes |
248 no changes found | 249 no changes found |
249 | 250 |
250 Test https with cacert and fingerprint through proxy | 251 Test https with cacert and fingerprint through proxy |
259 no changes found | 260 no changes found |
260 | 261 |
261 Test https with cert problems through proxy | 262 Test https with cert problems through proxy |
262 | 263 |
263 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --config web.cacerts=pub-other.pem | 264 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --config web.cacerts=pub-other.pem |
264 abort: error: _ssl.c:499: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed | 265 abort: error: *:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (glob) |
265 [255] | 266 [255] |
266 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --config web.cacerts=pub-expired.pem https://localhost:$HGPORT2/ | 267 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --config web.cacerts=pub-expired.pem https://localhost:$HGPORT2/ |
267 abort: error: _ssl.c:499: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed | 268 abort: error: *:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (glob) |
268 [255] | 269 [255] |