NuGet on Linux: Error getting response stream

前端 未结 1 1330
轻奢々
轻奢々 2020-12-02 05:48

I\'m trying to run NuGet on Linux (Ubuntu 12). I have Mono 3.0.6 (compiled from source).

$ mono --runtime=v4.0.303         


        
相关标签:
1条回答
  • 2020-12-02 06:28

    I was able to get this working by importing the certificates into the machine store and not the user store, which is the default:

    $ sudo mozroots --import --machine --sync
    $ sudo certmgr -ssl -m https://go.microsoft.com
    $ sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
    $ sudo certmgr -ssl -m https://nuget.org
    

    I verified that before I did this — even after having done the original user store-based commands — the tlstest.exe tool failed, and after importing into the machine store it succeeded.

    And, most important to me of course, nuget started working then too. :)

    0 讨论(0)
提交回复
热议问题