0

我正在尝试将项目部署到heroku。我自定义了 Adam Bugress 的 buildpack,以便它引导 paket.exe 并恢复我的依赖项。

Nuget 依赖项似乎工作正常,但恢复 Gist 依赖项失败,引导程序也是如此。这是后者的输出

Mozilla Roots Importer - version 4.5.0.0
Download and import trusted root certificates from Mozilla's MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'...
Importing certificates into user store...
140 new root certificates were added to your trust store.
Import process completed.

Checking Paket version (version 2.50.11 requested)...
Version 2.50.11 not found in cache.
Starting download from https://github.com/fsprojects/Paket/releases/download/2.50.11/paket.exe
'Cache' download failed. If using Mono, you may need to import trusted certificates using the 'mozroots' tool as none are contained by default. Trying fallback download from 'Github'.
Checking Paket version (version 2.50.11 requested)...
Starting download from https://github.com/fsprojects/Paket/releases/download/2.50.11.0/paket.exe
'Github' download failed. If using Mono, you may need to import trusted certificates using the 'mozroots' tool as none are contained by default. Trying fallback download from 'Nuget'.
Checking Paket version (version 2.50.11 requested)...
Starting download from https://www.nuget.org/api/v2/package/Paket/2.50.11
Error: TrustFailure (Nuget)
Error: TrustFailure (Github)
Error: TrustFailure (Cache)

正如你在上面看到的,我打电话mozroots --import --sync无济于事。请帮忙

更新 - certmgr

Mono Certificate Manager - version 4.5.0.0
Manage X.509 certificates and CRL from stores.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
X.509 Certificate v3
Issued from: C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert High Assurance EV Root CA
Issued to:   C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert SHA2 Extended Validation Server CA
Valid from:  10/22/2013 12:00:00 PM
Valid until: 10/22/2028 12:00:00 PM
*** WARNING: Certificate signature is INVALID ***
Import this certificate into the CA store ?
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
   at Mono.Tools.CertificateManager.Ssl (System.String host, Boolean machine, Boolean verbose) <0x40ae7c40 + 0x0075a> in <filename unknown>:0 
   at Mono.Tools.CertificateManager.Main (System.String[] args) <0x40ae2d70 + 0x004f0> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
   at Mono.Tools.CertificateManager.Ssl (System.String host, Boolean machine, Boolean verbose) <0x40ae7c40 + 0x0075a> in <filename unknown>:0 
   at Mono.Tools.CertificateManager.Main (System.String[] args) <0x40ae2d70 + 0x004f0> in <filename unknown>:0 
4

0 回答 0