I replicated this with ubuntu:jammy and ubuntu:mantic also with dotnet8. CLI interactions like `dotnet new global.json --search` are also affected by this, even without installing a second SDK.
I think we did not encounter this issue so far, because our test infrastructure installs ubuntu-minimal which installs ca-certificates.
The impact should be limited to docker images which do not ship with ubuntu-minimal.
I will prepare a bug fix, that adds ca-certificates to dotnet-sdk-6.0, dotnet-sdk-7.0 and dotnet-sdk-8.0.
Still I do not fully understand why the restore action only fails when restoring projects with a lower SDK version :/
I replicated this with ubuntu:jammy and ubuntu:mantic also with dotnet8. CLI interactions like `dotnet new global.json --search` are also affected by this, even without installing a second SDK.
I think we did not encounter this issue so far, because our test infrastructure installs ubuntu-minimal which installs ca-certificates.
The impact should be limited to docker images which do not ship with ubuntu-minimal.
I will prepare a bug fix, that adds ca-certificates to dotnet-sdk-6.0, dotnet-sdk-7.0 and dotnet-sdk-8.0.
Still I do not fully understand why the restore action only fails when restoring projects with a lower SDK version :/