The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
今天打包編譯的時(shí)候出現(xiàn)錯(cuò)誤"The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain"
其原因是debian的dotnet sdk鏡像證書鏈出現(xiàn)問題,
github針對(duì)此問題的討論issue: NuGet restore failing on .NET 5 for Debian-based OSes (CA trust changed) · Issue #10491 · NuGet/Home (github.com)
我的解決辦法:
按照 dsaul的說明, https://github.com/NuGet/Home/issues/10491#issuecomment-768687027
我打包了新的sdk鏡像: https://hub.docker.com/repository/docker/agilelabsnet/dotnet-sdk
docker push agilelabsnet/dotnet-sdk:5.0
Dockerfile: https://github.com/DukeCheng/dotnet-docker-cst/blob/main/5.0/sdk/buster-slim/amd64/Dockerfile
Dockerfile Github倉(cāng)庫: https://github.com/DukeCheng/dotnet-docker-cst
浙公網(wǎng)安備 33010602011771號(hào)