We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to use this tool with Azure Devops Hosted Agent (ubuntu-20.04) I got a following error:
info: NuGetKeyVaultSignTool.Program[0] SignAsync [/home/vsts/work/1/a/packed/tool-devops.1.0.0-rc.nupkg]: Begin Signing tool-devops.1.0.0-rc.nupkg fail: NuGetKeyVaultSignTool.Program[0] NuGet [/home/vsts/work/1/a/packed/tool-devops.1.0.0-rc.nupkg]: NU3018: PartialChain: unable to get local issuer certificate fail: NuGetKeyVaultSignTool.Program[0] Certificate chain validation failed. NuGet.Packaging.Signing.SignatureException: Certificate chain validation failed. at NuGet.Packaging.Signing.CertificateChainUtility.GetCertificateChain(X509Certificate2 certificate, X509Certificate2Collection extraStore, ILogger logger, CertificateType certificateType) at NuGet.Packaging.Signing.SignPackageRequest.BuildSigningCertificateChainOnce(ILogger logger) at NuGet.Packaging.Signing.SigningUtility.Verify(SignPackageRequest request, ILogger logger) at NuGet.Packaging.Signing.SigningUtility.SignAsync(SigningOptions options, SignPackageRequest signRequest, CancellationToken token) at NuGetKeyVaultSignTool.SignCommand.SignAsync(String packagePath, String outputPath, String timestampUrl, Uri v3ServiceIndex, IReadOnlyList`1 packageOwners, SignatureType signatureType, HashAlgorithmName signatureHashAlgorithm, HashAlgorithmName timestampHashAlgorithm, Boolean overwrite, X509Certificate2 publicCertificate, RSA rsa, CancellationToken cancellationToken) in /_/NuGetKeyVaultSignTool.Core/SignCommand.cs:line 98
I use a self-signed certificate!
NuGetKeyVaultSignTool --version 3.1.0
The text was updated successfully, but these errors were encountered:
I'm experiencing the same problem. It does work if I choose windows-latest as a Hosted Agent.
windows-latest
I also found this issue that might be related? dotnet/runtime#48794
Sorry, something went wrong.
No branches or pull requests
When I try to use this tool with Azure Devops Hosted Agent (ubuntu-20.04) I got a following error:
I use a self-signed certificate!
The text was updated successfully, but these errors were encountered: