tests/test-https.t
changeset 44896 4dcb2791beab
parent 44895 5921dc0d5c3a
child 45839 ebee234d952a
equal deleted inserted replaced
44895:5921dc0d5c3a 44896:4dcb2791beab
   266   pulling from https://localhost:$HGPORT2/
   266   pulling from https://localhost:$HGPORT2/
   267   (the full certificate chain may not be available locally; see "hg help debugssl") (windows !)
   267   (the full certificate chain may not be available locally; see "hg help debugssl") (windows !)
   268   abort: error: *certificate verify failed* (glob)
   268   abort: error: *certificate verify failed* (glob)
   269   [255]
   269   [255]
   270 
   270 
   271 Disabling the TLS 1.0 warning works
       
   272   $ hg -R copy-pull id https://localhost:$HGPORT/ \
       
   273   > --config hostsecurity.localhost:fingerprints=sha1:ecd87cd6b386d04fc1b8b41c9d8f5e168eef1c03 \
       
   274   > --config hostsecurity.disabletls10warning=true
       
   275   5fed3813f7f5
       
   276 
       
   277 Setting ciphers to an invalid value aborts
   271 Setting ciphers to an invalid value aborts
   278   $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/
   272   $ P="$CERTSDIR" hg --config hostsecurity.ciphers=invalid -R copy-pull id https://localhost:$HGPORT/
   279   abort: could not set ciphers: No cipher can be selected.
   273   abort: could not set ciphers: No cipher can be selected.
   280   (change cipher string (invalid) in config)
   274   (change cipher string (invalid) in config)
   281   [255]
   275   [255]