tests/test-patchbomb-tls.t
changeset 29561 1a782fabf80d
parent 29526 9d02bed8477b
child 29601 6cff2ac0ccb9
equal deleted inserted replaced
29560:303e9300772a 29561:1a782fabf80d
    56 #if no-sslcontext defaultcacerts
    56 #if no-sslcontext defaultcacerts
    57   $ try
    57   $ try
    58   this patch series consists of 1 patches.
    58   this patch series consists of 1 patches.
    59   
    59   
    60   
    60   
       
    61   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info
    61   (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) (?)
    62   (?i)abort: .*?certificate.verify.failed.* (re)
    63   (?i)abort: .*?certificate.verify.failed.* (re)
    63   [255]
    64   [255]
    64 #endif
    65 #endif
    65 
    66 
    93   this patch series consists of 1 patches.
    94   this patch series consists of 1 patches.
    94   
    95   
    95   
    96   
    96   (using smtps)
    97   (using smtps)
    97   sending mail: smtp host localhost, port * (glob)
    98   sending mail: smtp host localhost, port * (glob)
       
    99   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?)
    98   (verifying remote certificate)
   100   (verifying remote certificate)
    99   abort: unable to verify security of localhost (no loaded CA certificates); refusing to connect
   101   abort: unable to verify security of localhost (no loaded CA certificates); refusing to connect
   100   (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)
   102   (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)
   101   [255]
   103   [255]
   102 
   104 
   106   this patch series consists of 1 patches.
   108   this patch series consists of 1 patches.
   107   
   109   
   108   
   110   
   109   (using smtps)
   111   (using smtps)
   110   sending mail: smtp host localhost, port * (glob)
   112   sending mail: smtp host localhost, port * (glob)
       
   113   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?)
   111   (verifying remote certificate)
   114   (verifying remote certificate)
   112   sending [PATCH] a ...
   115   sending [PATCH] a ...
   113 
   116 
   114 With invalid certificates:
   117 With invalid certificates:
   115 
   118 
   116   $ try --config web.cacerts="$CERTSDIR/pub-other.pem"
   119   $ try --config web.cacerts="$CERTSDIR/pub-other.pem"
   117   this patch series consists of 1 patches.
   120   this patch series consists of 1 patches.
   118   
   121   
   119   
   122   
       
   123   warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?)
   120   (?i)abort: .*?certificate.verify.failed.* (re)
   124   (?i)abort: .*?certificate.verify.failed.* (re)
   121   [255]
   125   [255]
   122 
   126 
   123   $ cd ..
   127   $ cd ..