233 pulling from https://localhost:$HGPORT/ |
233 pulling from https://localhost:$HGPORT/ |
234 searching for changes |
234 searching for changes |
235 no changes found |
235 no changes found |
236 $ P=`pwd` hg -R copy-pull pull --insecure |
236 $ P=`pwd` hg -R copy-pull pull --insecure |
237 pulling from https://localhost:$HGPORT/ |
237 pulling from https://localhost:$HGPORT/ |
238 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 hostsecurity or web.cacerts config setting) |
238 warning: connection security to localhost is disabled per current settings; communication is susceptible to eavesdropping and tampering |
239 searching for changes |
239 searching for changes |
240 no changes found |
240 no changes found |
241 |
241 |
242 cacert mismatch |
242 cacert mismatch |
243 |
243 |
246 abort: 127.0.0.1 certificate error: certificate is for localhost |
246 abort: 127.0.0.1 certificate error: certificate is for localhost |
247 (configure hostsecurity 91:4f:1a:ff:87:24:9c:09:b6:85:9b:88:b1:90:6d:30:75:64:91:ca or use --insecure to connect insecurely) |
247 (configure hostsecurity 91:4f:1a:ff:87:24:9c:09:b6:85:9b:88:b1:90:6d:30:75:64:91:ca or use --insecure to connect insecurely) |
248 [255] |
248 [255] |
249 $ hg -R copy-pull pull --config web.cacerts=pub.pem https://127.0.0.1:$HGPORT/ --insecure |
249 $ hg -R copy-pull pull --config web.cacerts=pub.pem https://127.0.0.1:$HGPORT/ --insecure |
250 pulling from https://127.0.0.1:$HGPORT/ |
250 pulling from https://127.0.0.1:$HGPORT/ |
251 warning: 127.0.0.1 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 hostsecurity or web.cacerts config setting) |
251 warning: connection security to 127.0.0.1 is disabled per current settings; communication is susceptible to eavesdropping and tampering |
252 searching for changes |
252 searching for changes |
253 no changes found |
253 no changes found |
254 $ hg -R copy-pull pull --config web.cacerts=pub-other.pem |
254 $ hg -R copy-pull pull --config web.cacerts=pub-other.pem |
255 pulling from https://localhost:$HGPORT/ |
255 pulling from https://localhost:$HGPORT/ |
256 abort: error: *certificate verify failed* (glob) |
256 abort: error: *certificate verify failed* (glob) |
257 [255] |
257 [255] |
258 $ hg -R copy-pull pull --config web.cacerts=pub-other.pem --insecure |
258 $ hg -R copy-pull pull --config web.cacerts=pub-other.pem --insecure |
259 pulling from https://localhost:$HGPORT/ |
259 pulling from https://localhost:$HGPORT/ |
260 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 hostsecurity or web.cacerts config setting) |
260 warning: connection security to localhost is disabled per current settings; communication is susceptible to eavesdropping and tampering |
261 searching for changes |
261 searching for changes |
262 no changes found |
262 no changes found |
263 |
263 |
264 Test server cert which isn't valid yet |
264 Test server cert which isn't valid yet |
265 |
265 |
345 |
345 |
346 Test unvalidated https through proxy |
346 Test unvalidated https through proxy |
347 |
347 |
348 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --insecure --traceback |
348 $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --insecure --traceback |
349 pulling from https://localhost:$HGPORT/ |
349 pulling from https://localhost:$HGPORT/ |
350 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 hostsecurity or web.cacerts config setting) |
350 warning: connection security to localhost is disabled per current settings; communication is susceptible to eavesdropping and tampering |
351 searching for changes |
351 searching for changes |
352 no changes found |
352 no changes found |
353 |
353 |
354 Test https with cacert and fingerprint through proxy |
354 Test https with cacert and fingerprint through proxy |
355 |
355 |