Paket没有在Heroku上工作 - 缺少SSL证书?

时间:2016-02-29 09:47:34

标签: ssl heroku mono paket

我正在尝试将项目部署到heroku。我customized 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 

0 个答案:

没有答案