equal
deleted
inserted
replaced
37 > } |
37 > } |
38 |
38 |
39 Our test cert is not signed by a trusted CA. It should fail to verify if |
39 Our test cert is not signed by a trusted CA. It should fail to verify if |
40 we are able to load CA certs: |
40 we are able to load CA certs: |
41 |
41 |
42 #if sslcontext defaultcacerts no-defaultcacertsloaded |
42 #if sslcontext no-defaultcacertsloaded |
43 $ try |
43 $ try |
44 this patch series consists of 1 patches. |
44 this patch series consists of 1 patches. |
45 |
45 |
46 |
46 |
47 (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) |
47 (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) |
48 (?i)abort: .*?certificate.verify.failed.* (re) |
48 (?i)abort: .*?certificate.verify.failed.* (re) |
49 [255] |
49 [255] |
50 #endif |
50 #endif |
51 |
51 |
52 #if no-sslcontext defaultcacerts |
52 #if no-sslcontext |
53 $ try |
53 $ try |
54 this patch series consists of 1 patches. |
54 this patch series consists of 1 patches. |
55 |
55 |
56 |
56 |
57 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info |
57 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info |
69 (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) (?) |
69 (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) (?) |
70 (the full certificate chain may not be available locally; see "hg help debugssl") (windows !) |
70 (the full certificate chain may not be available locally; see "hg help debugssl") (windows !) |
71 (?i)abort: .*?certificate.verify.failed.* (re) |
71 (?i)abort: .*?certificate.verify.failed.* (re) |
72 [255] |
72 [255] |
73 |
73 |
74 #endif |
|
75 |
|
76 #if no-defaultcacerts |
|
77 $ try |
|
78 this patch series consists of 1 patches. |
|
79 |
|
80 |
|
81 (unable to load * certificates; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this message) (glob) (?) |
|
82 abort: localhost certificate error: no certificate received |
|
83 (set hostsecurity.localhost:certfingerprints=sha256:62:09:97:2f:97:60:e3:65:8f:12:5d:78:9e:35:a1:36:7a:65:4b:0e:9f:ac:db:c3:bc:6e:b6:a3:c0:16:e0:30 config setting or use --insecure to connect insecurely) |
|
84 [255] |
|
85 #endif |
74 #endif |
86 |
75 |
87 $ DISABLECACERTS="--config devel.disableloaddefaultcerts=true" |
76 $ DISABLECACERTS="--config devel.disableloaddefaultcerts=true" |
88 |
77 |
89 Without certificates: |
78 Without certificates: |