tests/test-https.t
changeset 29448 afbe1fe4c44e
parent 29446 2f7f1e10f840
child 29449 5b71a8d7f7ff
equal deleted inserted replaced
29447:13edc11eb7b7 29448:afbe1fe4c44e
    48 we are able to load CA certs.
    48 we are able to load CA certs.
    49 
    49 
    50 #if defaultcacerts
    50 #if defaultcacerts
    51   $ hg clone https://localhost:$HGPORT/ copy-pull
    51   $ hg clone https://localhost:$HGPORT/ copy-pull
    52   abort: error: *certificate verify failed* (glob)
    52   abort: error: *certificate verify failed* (glob)
       
    53   [255]
       
    54 #else
       
    55   $ hg clone https://localhost:$HGPORT/ copy-pull
       
    56   abort: localhost certificate error: no certificate received
       
    57   (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)
    53   [255]
    58   [255]
    54 #endif
    59 #endif
    55 
    60 
    56 Specifying a per-host certificate file that doesn't exist will abort
    61 Specifying a per-host certificate file that doesn't exist will abort
    57 
    62