Closed uffebjorklund closed 3 years ago
This is an issue on Linux Ubuntu - Groovy Gorilla, closing
Thanks for investigating @uffebjorklund
If someone else have issues with nuget and certificates on Groovy Gorilla...
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<config>
<add key="signatureValidationMode" value="accept" />
</config>
<trustedSigners>
<author name="Microsoft">
<certificate fingerprint="3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE" hashAlgorithm="SHA256" allowUntrustedRoot="true" />
<certificate fingerprint="AA12DA22A49BCE7D5C1AE64CC1F3D892F150DA76140F210ABD2CBFFCA2C18A27" hashAlgorithm="SHA256" allowUntrustedRoot="true" />
</author>
<repository name="NuGet.org" serviceIndex="https://api.nuget.org/v3/index.json">
<certificate fingerprint="0E5F38F57DC1BCC806D8494F4F90FBCEDD988B46760709CBEEC6F4219AA6157D" hashAlgorithm="SHA256" allowUntrustedRoot="true" />
<owners>Microsoft;dotnetframework;grpc-packages;serilog;domaindrivendev;protobuf-packages;dotnetfoundation</owners>
</repository>
</trustedSigners>
</configuration>
apt remove ca-certificates
apt purge ca-certificates
apt update
apt install ca-certificates
Note that this removed some other stuff from my machine like kubectl for example.
I was trying to install the libplctag package in a dotnet-script and failed with the message
The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
At first I thought it was some limitation in dotnet-script, but I switched to a console application and still get the same error. I can install other packages from nuget, but not libplctag. My colleague has the same issue.
I have also tried earlier versions of the package without success.
dotnet --info
UPDATE: I will probably close this... It seems that I cant download any packages from nuget after clearing the nuget cache... So something else is going on here... Not related to thi spackage