title: Can I force git to use TLS only?
body: <p>When I use git under a specific network environment, it will send out SSL packet rather than TLS one, and says &quot;<code>gnutls_hanshake() failed(): A TLS packet with unexpected length was receive</code>” . This is the only difference I can discover from the WireShark logs between them:</p>
  <p><strong>The SUCCESS result</strong></p>
  <p><img src="https://i.stack.imgur.com/RQs67.png" alt="enter image description here" /></p>
  <p><strong>The FAILED result</strong></p>
  <p><img src="https://i.stack.imgur.com/27CA0.png" alt="enter image description here" /></p>
  <p>I'm using Ubuntu 12.04, x86-64 version. And this problem appeared also on MacBook and 11.10 problem. But when I try with Win7 and Git Gui, it got no errors.</p>
  <p>And if I switch to other network environments, like pppoe in my home, or the WiFi in some cafe, the problem disappeared with my Ubuntu 12.04 ( same settings, same OS ).</p>
  <p>Please help me to know what can I do. At least if I have to argue this problem with my MIS, I can figure out why this shouldn't happen.</p>
  <p>Thanks !</p>
  <p>PS.1. I have tried the solution listed in <a href="https://askubuntu.com/questions/67935/issues-checking-out-code-from-google-code">ask Ubuntu</a>, but it didn't work.</p>
  <p>PS.2. <a href="http://forum.filezilla-project.org/viewtopic.php?f=2&amp;t=23205" rel="nofollow noreferrer">Filezilla seemed had this problem</a>, too. But I can't find how they solve the problem ( and apply to git ).</p>