equal
deleted
inserted
replaced
47 $ cd .. |
47 $ cd .. |
48 |
48 |
49 Our test cert is not signed by a trusted CA. It should fail to verify if |
49 Our test cert is not signed by a trusted CA. It should fail to verify if |
50 we are able to load CA certs. |
50 we are able to load CA certs. |
51 |
51 |
52 #if sslcontext defaultcacerts no-defaultcacertsloaded |
52 #if sslcontext no-defaultcacertsloaded |
53 $ hg clone https://localhost:$HGPORT/ copy-pull |
53 $ hg clone https://localhost:$HGPORT/ copy-pull |
54 (an attempt was made to load CA certificates but none were loaded; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error) |
54 (an attempt was made to load CA certificates but none were loaded; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error) |
55 abort: error: *certificate verify failed* (glob) |
55 abort: error: *certificate verify failed* (glob) |
56 [255] |
56 [255] |
57 #endif |
57 #endif |
58 |
58 |
59 #if no-sslcontext defaultcacerts |
59 #if no-sslcontext |
60 $ hg clone https://localhost:$HGPORT/ copy-pull |
60 $ hg clone https://localhost:$HGPORT/ copy-pull |
61 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) |
61 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) |
62 (using CA certificates from *; if you see this message, your Mercurial install is not properly configured; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this message) (glob) (?) |
62 (using CA certificates from *; if you see this message, your Mercurial install is not properly configured; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this message) (glob) (?) |
63 abort: error: *certificate verify failed* (glob) |
63 abort: error: *certificate verify failed* (glob) |
64 [255] |
64 [255] |
85 $ hg clone https://localhost:$HGPORT/ copy-pull |
85 $ hg clone https://localhost:$HGPORT/ copy-pull |
86 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) |
86 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) |
87 (using CA certificates from *; if you see this message, your Mercurial install is not properly configured; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this message) (glob) (?) |
87 (using CA certificates from *; if you see this message, your Mercurial install is not properly configured; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this message) (glob) (?) |
88 (the full certificate chain may not be available locally; see "hg help debugssl") (windows !) |
88 (the full certificate chain may not be available locally; see "hg help debugssl") (windows !) |
89 abort: error: *certificate verify failed* (glob) |
89 abort: error: *certificate verify failed* (glob) |
90 [255] |
|
91 #endif |
|
92 |
|
93 #if no-defaultcacerts |
|
94 $ hg clone https://localhost:$HGPORT/ copy-pull |
|
95 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) |
|
96 (unable to load * certificates; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this message) (glob) (?) |
|
97 abort: localhost certificate error: no certificate received |
|
98 (set hostsecurity.localhost:certfingerprints=sha256:20:de:b3:ad:b4:cd:a5:42:f0:74:41:1c:a2:70:1e:da:6e:c0:5c:16:9e:e7:22:0f:f1:b7:e5:6e:e4:92:af:7e config setting or use --insecure to connect insecurely) |
|
99 [255] |
90 [255] |
100 #endif |
91 #endif |
101 |
92 |
102 Specifying a per-host certificate file that doesn't exist will abort. The full |
93 Specifying a per-host certificate file that doesn't exist will abort. The full |
103 C:/path/to/msysroot will print on Windows. |
94 C:/path/to/msysroot will print on Windows. |