##// END OF EJS Templates
https: warn when server certificate isn't verified...
Mads Kiilerich -
r13163:2fa2e644 stable
parent child Browse files
Show More
@@ -527,6 +527,9 b' if has_https:'
527 527 self.ui.debug('%s certificate successfully verified\n' %
528 528 self.host)
529 529 else:
530 self.ui.warn(_("warning: %s certificate not verified "
531 "(check web.cacerts config setting)\n") %
532 self.host)
530 533 httplib.HTTPSConnection.connect(self)
531 534
532 535 class httpsconnection(BetterHTTPS):
@@ -106,6 +106,7 b' Test server address cannot be reused'
106 106 clone via pull
107 107
108 108 $ hg clone https://localhost:$HGPORT/ copy-pull
109 warning: localhost certificate not verified (check web.cacerts config setting)
109 110 requesting all changes
110 111 adding changesets
111 112 adding manifests
@@ -131,6 +132,7 b' pull'
131 132 $ echo '[hooks]' >> .hg/hgrc
132 133 $ echo "changegroup = python '$TESTDIR'/printenv.py changegroup" >> .hg/hgrc
133 134 $ hg pull
135 warning: localhost certificate not verified (check web.cacerts config setting)
134 136 changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=https://localhost:$HGPORT/
135 137 pulling from https://localhost:$HGPORT/
136 138 searching for changes
General Comments 0
You need to be logged in to leave comments. Login now