title: NuGet on Linux: Error getting response stream
body: <p>I'm trying to run NuGet on Linux (Ubuntu 12). I have Mono 3.0.6 (compiled from source).</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>$ mono --runtime=v4.0.30319 .nuget/NuGet.exe update -self
  Checking for updates from https://nuget.org/api/v2/.
  Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
  </code></pre>
  
  <p>The error is due to some certificate (the nuget.org one most likely) not being trusted, I gather. This <a href="http://monomvc.wordpress.com/2012/03/06/nuget-on-mono/" rel="noreferrer">blog post has more details</a>.</p>
  
  <p>So I've run:</p>
  
  <pre class="lang-none prettyprint-override"><code>$ mozroots --import --sync
  $ certmgr -ssl https://go.microsoft.com
  $ certmgr -ssl https://nugetgallery.blob.core.windows.net
  $ certmgr -ssl https://nuget.org
  </code></pre>
  
  <p>... to no avail.</p>
  
  <p>NuGet Version is 2.3.0.0 (although I started out with some older version that also did not work either).</p>
  
  <p>How can I fix this error?</p>