Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

NuGet Package certificate error #1599

Closed
sughosneo opened this issue Jan 27, 2021 · 2 comments
Closed

NuGet Package certificate error #1599

sughosneo opened this issue Jan 27, 2021 · 2 comments

Comments

@sughosneo
Copy link
Contributor

sughosneo commented Jan 27, 2021

Description

  • Clone the eShop application
  • Go to the src directory
  • Run docker-compose build
  • dotnet restore step fails with following error :
/src/Services/Ordering/Ordering.API/Ordering.API.csproj : error NU3028: Package 'Microsoft.NETCore.Targets 1.1.3' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain [/src/eShopOnContainers-ServicesAndWebApps.sln]
.......

Status : Under Investigations

This is issue is related to NuGet/Home#8944 and NuGet team is actively looking into it https://twitter.com/nuget/status/1354455557541933056

@sughosneo sughosneo changed the title Docker-Compose build step is failing with Nuget Package error Docker-Compose build step is failing with NuGet Package certificate error Jan 27, 2021
@sughosneo sughosneo pinned this issue Jan 27, 2021
@sughosneo sughosneo changed the title Docker-Compose build step is failing with NuGet Package certificate error NuGet Package certificate error Jan 27, 2021
@nishanil
Copy link
Contributor

nishanil commented Jan 27, 2021

Original issue: NuGet/Home#10491

@sughosneo
Copy link
Contributor Author

sughosneo commented Jan 29, 2021

Here is the PR #1601 that includes the temporary fix as mentioned in NuGet/Announcements#49 (comment) until Debian 10 (Buster) and the .NET Docker SDK images have been republished.

@nishanil nishanil unpinned this issue Feb 4, 2021
rulyotano added a commit to rulyotano/eShopOnContainers that referenced this issue Apr 9, 2021
* Fix ordering test settings

* catch error with interceptor

* interceptor in mobile bff

* top level statements

* Prepare to update ng version

* Update TS version

* Update peerDependencies

* Renew packageLock

* Upgrade to ng version 9

* Add record types for DTOs. Update ordering DockerFiles to dotnet 5.0 base images.

* Fixed call  error when filter item is applied

* Upgrade node version 10.3 to docker

* fix namespace top level statement

* net5

* record types

* customer basket items setteable

* Fix MarketingUrl Port on AppSettings

* Update nuget packages for Ordering service.

* Fix CampaignDetailFunctionEnabled required when conf isReady

* Delete Package lock to update ng version

* new PackageLock to update to ng version10

* new PackageLock to update to ng version10

* Change Grpc client creation from a per request approach to a client factory one.

* migrate catalog api

* Updated to ng version10

* Upgrade to 12 node version

* grpc improvements

* Top-level statements. Change ordering net standard projects to dotnet 5.

* Update logging nuge package dependency.

* update net 5

* net 5 webapps

* update nuget packages

* Migrate Payment.API to dotnet 5

* dockerfiles and update nugets

* fix docker file image

* update nugets

* fix functional tests

* remove marketing and locations

* update mvc references

* update dockerfiles without location & api csprojs

* remove campaings from SPA

* remove helm deploy marketing locations and builds

* delete marketing and locations references

* WIP

* apigws workflow

* paths filter

* fix workflow filter path

* event name

* copy with ps

* test basket api workflow

* remove uses

* fix path filter

* add test branch

* test registry

* test login with cmd

* test cmd

* test docker login

* test echo

* echo username

* test login

* revert login

* test login registry endpoint hub.docker.com

* Test login without registry variable

* Test login registry empty

* Fix varible usage in bash

* upgrade nuget packages

* Fix docker-compose build args

* Fix docker-compose push args order

* Add checkout

* consolidate packages

* Fix variables

* Add login before build

* Fix indentation.

* Linux version

* fix Breaking change net 5 missing method
app.UseDatabaseErrorPage()
dotnet/efcore#22687

* Add docker-machine env eval

* integration events updated to record types

* remove old grpc caller

* Docker-machine env dev

* sudo

* Remove repeated step.

* Swamy/remove unused using and refactor the code (dotnet-architecture#1555)

* Removed Unused Using and Reorganized the Using

* Removed unused using, Reorganized using, moved the class to separate file, removed commented code in Catalog.API

* Revert "Removed unused using, Reorganized using, moved the class to separate file, removed commented code in Catalog.API"

This reverts commit 34241c4.

* Removed unused using and reorganized the using inside "Services" folder

* Removed Unused using and reoganized the using

* Refactor Webhooks.API

* Removed unused using and reorganized using inside Catalog.API

* Refactoring

* Removed unsed using

* Added line break just to differentiate between the messages

* Removed unused usings

* Simple Refactoring

* Get git branch name

* Fix get branch step

* Uncomment steps

* add registry

* Fix login

* fix cookie policy

* update nuget in catalog unit tests

* TAG REGISTRY

* Fixed Issue dotnet-architecture#1410 (dotnet-architecture#1560)

Added IdentityUrlExternal to src\Services\Ordering\Ordering.FunctionalTests\appsettings.json; sorted the properties

* remove mobile project

* Update env variables.

* export variable

* Test variable asignation

* Fix export commnad

* Fix exporting variables when sudo is used

* Remove comments

* Enable push image

* Fix docker-file path for push step.

* Add TAG variable to push step.

* Update registry path

* Change docker login step.

* remove load test references

* Try sudo docker login in push step.

* Update registry value.

* Change login method

* Refactor yaml

* Remove debug traces

* test docker hub host

* modify registry host url

* host url

* test docker io

* build on pr

* test windows build

* test login windows

* test branch name windows

* test windows

* test replace branch name pwsh

* test

* replace feature

* working dir and build order cmd

* work dir path

* work dir

* checkout windows

* test multiarch step

* test docker config env

* multiarch

* test WIP

* WIP

* test

* test sudo

* test docker dir

* test

* WIP

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test cp

* test

* test

* test

* test

* final

* test

* test

* test

* final version

* final basket workflow

* final version

* fix secret ref

* basket catalog identity ordering workflows

* added github workflows

* remove azure pipelines

* test builds on branch

* Small Refactoring (dotnet-architecture#1558)

* final workflows

* Updated to aspnet 5 dockerfiles.development for azds

* fix restores on docker.develop images

* revert host setting

* missing identityurlexternal in helm config

* Small-Formatting-Refactoring (dotnet-architecture#1564)

* Swamy/01jan2021-small-refactoring (dotnet-architecture#1570)

* Update Startup.cs

* Removed commented code

* Update UrlsConfig.cs

* Small Refactoring

* Removed Commented Code

* Small Refactoring

* remove windows build

* remove trigger on working branch

* Removes dotnet.myget.org NuGetPackage feed references (dotnet-architecture#1576)

* Removed Nuget package feed

* Removed unused System.ValueTuple package

* Downloadgraded Microsoft.AspNetCore.Hosting.Abstractions package

* Removed unused package

* Downgraded System.IO.Compression.ZipFile package

* Used Microsoft.AspNetCore.DataProtection.StackExchangeRedis package

* Upgrade key packages

* Upgrade healthchecks packages

* readme actions

* Upgrade identity server, fix VS F5 unauthorized_client problem

* Swamy/04 jan2021-small-refactoring (dotnet-architecture#1571)

* Small Refactoring inside IntegrationEventLogEF

* Small Refactoring inside BuildingBlocks folder

* Fixes dotnet-architecture#1581: Fixed total decimal place issue and User hover menu display/usability issue. (dotnet-architecture#1582)

* Swamy/15jan2021 small refactoring (dotnet-architecture#1580)

* Small Refactoring inside Basket Service folder

* Small Refactoring

* Incorrect ContentPage.ToolbarItems in a TabbedPage (dotnet-architecture#1348)

Incorrect ContentPage.ToolbarItems in a TabbedPage

* use identity internal network

* fix identity url in current helm version

* revert archived

* clean up solution

* Add community code changes since migration start

* Remove "obsolete" folder

* Remove main branch from action triggers

* fix envoy config in helm

* update helm chart to use sqlserver 2019

* rerun GitHub Actions

* program to top level statement

* path filter on pr SPA

* added path filter on pr

* test path filter on spa

* formatting

* Bump socket.io from 2.3.0 to 2.4.1 in /src/Web/WebSPA (dotnet-architecture#1588)

Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](socketio/socket.io@2.3.0...2.4.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* include subfolders in filtering path

* Updated npm packages. (dotnet-architecture#1594)

* Fixes : dotnet-architecture#1599 | Applies patch to dotnet/sdk buster-slim docker image (dotnet-architecture#1601)

* Included docker file patch

* Used specific npm 6 package version

* Updated readme files (dotnet-architecture#1589)

* Updated readme files

* Updated eShop architecture diagram

* Update README.md

* marked package updated to latest ver 2.0 (dotnet-architecture#1605)

* Feature/add mobile readme (dotnet-architecture#1606)

* Readme file added for mobile client

* readme file added for mobile client

* Update src/Mobile/README.md

Co-authored-by: Sumit Ghosh <[email protected]>

* eshopOnContainers Architecture document updated

Co-authored-by: Sumit Ghosh <[email protected]>

* GracePeriodManagerTask renamed in GracePeriodManagerService (dotnet-architecture#1615)

* Service Bus persisted connection for ISubscriptionClient (dotnet-architecture#1521)

* Fix ordering-signalrhub workflow badge image (dotnet-architecture#1624)

* Bump elliptic from 6.5.3 to 6.5.4 in /src/Web/WebSPA (dotnet-architecture#1623)

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix WebSPA pager display (dotnet-architecture#1629)

* updated package version for ssri and is-svg (dotnet-architecture#1636)

* Fix WebSPA catalog filter (dotnet-architecture#1637)

* updated CardType and Enumeration classes (dotnet-architecture#1528)

* updated CardType and Enumeration classes

* Update per IEvangelist's suggestion

* Update src/Services/Ordering/Ordering.Domain/SeedWork/Enumeration.cs

Co-authored-by: David Pine <[email protected]>

Co-authored-by: Sumit Ghosh <[email protected]>
Co-authored-by: David Pine <[email protected]>

Co-authored-by: David Sanz <[email protected]>
Co-authored-by: Borja García Rodríguez <[email protected]>
Co-authored-by: Carlos de Miguel Ferrero <[email protected]>
Co-authored-by: Miguel Veloso <[email protected]>
Co-authored-by: Borja García <[email protected]>
Co-authored-by: Viswanatha Swamy <[email protected]>
Co-authored-by: InstanceFactory <[email protected]>
Co-authored-by: Sumit Ghosh <[email protected]>
Co-authored-by: Hetal Kapadia <[email protected]>
Co-authored-by: william-keller <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nish Anil <[email protected]>
Co-authored-by: Sreenivasulu Kalluru <[email protected]>
Co-authored-by: alecola <[email protected]>
Co-authored-by: Roman Marusyk <[email protected]>
Co-authored-by: Konstantin Chuvilyov <[email protected]>
Co-authored-by: n-stefan <[email protected]>
Co-authored-by: Matt Callahan <[email protected]>
Co-authored-by: David Pine <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants