tests/test-https.t
branchstable
changeset 29616 3fde328d0913
parent 29601 6cff2ac0ccb9
child 29617 2960ceee1948
equal deleted inserted replaced
29615:a2a380e2750f 29616:3fde328d0913
   499   > --config hostsecurity.localhost:minimumprotocol=tls1.2
   499   > --config hostsecurity.localhost:minimumprotocol=tls1.2
   500   (could not negotiate a common protocol; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error)
   500   (could not negotiate a common protocol; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error)
   501   abort: error: *unsupported protocol* (glob)
   501   abort: error: *unsupported protocol* (glob)
   502   [255]
   502   [255]
   503 
   503 
       
   504 .hg/hgrc file [hostsecurity] settings are applied to remote ui instances (issue5305)
       
   505 
       
   506   $ cat >> copy-pull/.hg/hgrc << EOF
       
   507   > [hostsecurity]
       
   508   > localhost:minimumprotocol=tls1.2
       
   509   > EOF
       
   510   $ P="$CERTSDIR" hg -R copy-pull id https://localhost:$HGPORT/
       
   511   (could not negotiate a common protocol; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error)
       
   512   abort: error: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:590)
       
   513   [255]
       
   514 
   504   $ killdaemons.py hg0.pid
   515   $ killdaemons.py hg0.pid
   505   $ killdaemons.py hg1.pid
   516   $ killdaemons.py hg1.pid
   506   $ killdaemons.py hg2.pid
   517   $ killdaemons.py hg2.pid
   507 #endif
   518 #endif
   508 
   519