title: git SSL problems on corporate network
body: <p>I am trying to checkout my git repository from Bitbucket. I do a checkout but this get this:</p>
  
  <pre><code>pi@raspberrypi:~/Documents$ git clone https://user@bitbucket.org/user/project.git
  Cloning into 'project'...
  fatal: unable to access 'https://user@bitbucket.org/user/project.git/': SSL: certificate subject name (guestlogin.mycompany.com) does not match target host name 'bitbucket.org'
  </code></pre>
  
  <p>I read some other posts here and tried again with SSL verification disabled:</p>
  
  <pre><code>pi@raspberrypi:~/Documents$ git -c http.sslVerify=False clone https://user@bitbucket.org/user/project.git
  Cloning into 'project'...
  fatal: https://user@bitbucket.org/user/project.git/info/refs not valid: is this a git repository?
  </code></pre>
  
  <p>I am afraid that some of the problem is that I am behind a corporate network. Is there anything that I can do on my side to resolve this?</p>
  
  <p><strong>EDIT:</strong>
  What confuses me is that if I connect my phone to the corporate wifi, enable mobile hotspot on the phone, and then connect the computer (raspberry pi) to the mobile hotspot, the clone works fine. However, if I connect the raspberry pi directly to the corporate network (PEAP), I experience the SSL problems. </p>