Visual Studio 2010 nuget error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

前端 未结 11 1369
眼角桃花
眼角桃花 2020-12-04 19:19

Whenever I\'m trying to install something or even just list the packages I get this error \"The underlying connection was closed: Could not establish trust relationship for

11条回答
  •  忘掉有多难
    2020-12-04 19:35

    As of today 21-Jan-2015, the correct url is https://www.nuget.org/api/v2/. The www is required or the certificate fails. Do NOT fall back to http because you are opening your code and all of its consumers to a nasty MITM vector.

提交回复
热议问题