[MacPorts] #31965: mercurial @1.9.3_0 SNI not supported?

MacPorts noreply at macports.org
Mon Nov 7 13:19:56 PST 2011


#31965: mercurial @1.9.3_0 SNI not supported?
------------------------------+---------------------------------------------
 Reporter:  m@…               |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  2.0.3                                
 Keywords:  SNI               |        Port:  mercurial                            
------------------------------+---------------------------------------------
 It seems that port mercurial @1.9.3_0 does not support SNI (Server Name
 Indication) properly.

 When `hg` connects to a server that hosts multiple virtual hosts with
 individual SSL certificates, it takes the first certificate always (thus,
 the certificate from the host that serves https://IP/).

 In my `~\.hgrc` I defined fingerprint F_B for server S_B. However, `hg`
 complains about an invalid certificate with fingerprint F_A. This
 fingerprint F_A belongs to server S_A, and not to S_B; thus, mercurial
 chooses the wrong certificate. As soon as I change the fingerprint of S_B
 to F_A (thus, an actually wrong one) in `~\.hgrc`, it will work.

-- 
Ticket URL: <https://trac.macports.org/ticket/31965>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list