Skip to content

Conversation

jonathanpeppers
Copy link
Member

Context: dotnet/maui@d89d82a
Context: https://github.com/dotnet/runtime/blob/1fb517811e25a96a92ce377d51bf693461ae4f75/src/libraries/System.Net.Security/src/System/Net/Security/SslAuthenticationOptions.cs#L16-L20

Our CI is randomly failing on the dotnet restore step with:

Determining projects to restore...
Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d6432872-d676-4a5e-aaa1-e455c44fa8ac/nuget/v3/flat2/netstandard.library/index.json'.
The SSL connection could not be established, see inner exception.
    The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown

They've been fighting this issue in dotnet/maui, so going to try the same thing to set $DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT=true.

Context: dotnet/maui@d89d82a
Context: https://github.com/dotnet/runtime/blob/1fb517811e25a96a92ce377d51bf693461ae4f75/src/libraries/System.Net.Security/src/System/Net/Security/SslAuthenticationOptions.cs#L16-L20

Our CI is randomly failing on the `dotnet restore` step with:

    Determining projects to restore...
    Retrying 'FindPackagesByIdAsync' for source 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d6432872-d676-4a5e-aaa1-e455c44fa8ac/nuget/v3/flat2/netstandard.library/index.json'.
    The SSL connection could not be established, see inner exception.
        The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown

They've been fighting this issue in dotnet/maui, so going to try the
same thing to set `$DOTNET_SYSTEM_NET_SECURITY_NOREVOCATIONCHECKBYDEFAULT=true`.
@jonathanpeppers jonathanpeppers marked this pull request as ready for review July 10, 2025 18:12
@jonathanpeppers
Copy link
Member Author

It's hard to know if this works 100%, but solid green first try is encouraging.

@jonathanpeppers jonathanpeppers merged commit 8d8b7f2 into main Jul 10, 2025
59 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/peppers/DOTNET_SYSTEM_NET_SECURITY branch July 10, 2025 19:06
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant