tests/test-patchbomb-tls.t
changeset 44895 5921dc0d5c3a
parent 44886 1409da2148c8
child 45915 8f50dc096cf4
equal deleted inserted replaced
44894:39c598f1c774 44895:5921dc0d5c3a
    52 #if defaultcacertsloaded
    52 #if defaultcacertsloaded
    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 (?)
       
    58   (the full certificate chain may not be available locally; see "hg help debugssl") (windows !)
    57   (the full certificate chain may not be available locally; see "hg help debugssl") (windows !)
    59   (?i)abort: .*?certificate.verify.failed.* (re)
    58   (?i)abort: .*?certificate.verify.failed.* (re)
    60   [255]
    59   [255]
    61 
    60 
    62 #endif
    61 #endif
    69   this patch series consists of 1 patches.
    68   this patch series consists of 1 patches.
    70   
    69   
    71   
    70   
    72   (using smtps)
    71   (using smtps)
    73   sending mail: smtp host localhost, port * (glob)
    72   sending mail: smtp host localhost, port * (glob)
    74   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?)
       
    75   (verifying remote certificate)
    73   (verifying remote certificate)
    76   abort: unable to verify security of localhost (no loaded CA certificates); refusing to connect
    74   abort: unable to verify security of localhost (no loaded CA certificates); refusing to connect
    77   (see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error or set hostsecurity.localhost:fingerprints=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 to trust this server)
    75   (see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error or set hostsecurity.localhost:fingerprints=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 to trust this server)
    78   [255]
    76   [255]
    79 
    77 
    83   this patch series consists of 1 patches.
    81   this patch series consists of 1 patches.
    84   
    82   
    85   
    83   
    86   (using smtps)
    84   (using smtps)
    87   sending mail: smtp host localhost, port * (glob)
    85   sending mail: smtp host localhost, port * (glob)
    88   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?)
       
    89   (verifying remote certificate)
    86   (verifying remote certificate)
    90   sending [PATCH] a ...
    87   sending [PATCH] a ...
    91 
    88 
    92 With invalid certificates:
    89 With invalid certificates:
    93 
    90 
    94   $ try --config web.cacerts="$CERTSDIR/pub-other.pem"
    91   $ try --config web.cacerts="$CERTSDIR/pub-other.pem"
    95   this patch series consists of 1 patches.
    92   this patch series consists of 1 patches.
    96   
    93   
    97   
    94   
    98   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?)
       
    99   (the full certificate chain may not be available locally; see "hg help debugssl") (windows !)
    95   (the full certificate chain may not be available locally; see "hg help debugssl") (windows !)
   100   (?i)abort: .*?certificate.verify.failed.* (re)
    96   (?i)abort: .*?certificate.verify.failed.* (re)
   101   [255]
    97   [255]
   102 
    98 
   103   $ cd ..
    99   $ cd ..