首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Visual通过Nuget安装打包: NU3037作者的主签名有效期已经过期

Visual通过Nuget安装打包: NU3037作者的主签名有效期已经过期
EN

Stack Overflow用户
提问于 2022-06-14 20:44:49
回答 1查看 435关注 0票数 1

在Visual中,我已经有一段时间无法使用Nuget来安装软件包了。所有包在尝试安装时都会返回以下错误:

代码语言:javascript
运行
复制
NU3037: The author primary signature validity period has expired.
NU3028: The author primary signature's timestamping certificate is not trusted by the trust provider.
WARNING: NU3028: The author primary signature's timestamp found a chain building issue: The revocation function was unable to check revocation because the revocation server could not be reached. For more information, visit https://aka.ms/certificateRevocationMode.
WARNING: NU3028: The author primary signature's timestamp found a chain building issue: RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.
NU3037: The repository countersignature validity period has expired.
NU3028: The repository countersignature's timestamping certificate is not trusted by the trust provider.
WARNING: NU3028: The repository countersignature's timestamp found a chain building issue: The revocation function was unable to check revocation because the revocation server could not be reached. For more information, visit https://aka.ms/certificateRevocationMode.
WARNING: NU3028: The repository countersignature's timestamp found a chain building issue: RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.

所显示的证书是:

代码语言:javascript
运行
复制
Verifying the author primary signature with certificate:

  Subject Name: CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  SHA1 hash: F404000FB11E61F446529981C7059A76C061631E
  SHA256 hash: 3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE
  Issued by: CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
  Valid from: 2/25/2018 7:00:00 PM to 1/27/2021 7:00:00 AM
Timestamp: 11/15/2019 4:52:49 AM

这显然是expired...but,我如何更新它?

EN

回答 1

Stack Overflow用户

发布于 2022-06-16 08:20:06

根据你的描述,以下是一些建议:

  1. 尝试从官方网站下载包,看看是否可以使用它。
  2. 尝试将nuget.exe更新为此页的最新版本。
  3. 下面是关于如何更新Microsoft签名证书的博客。希望它能帮到你。
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72623158

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档