Skip to content

Update certificate validation to use custom trust store for .NET 5.0+… #300

Update certificate validation to use custom trust store for .NET 5.0+…

Update certificate validation to use custom trust store for .NET 5.0+… #300

Triggered via push August 27, 2025 12:48
Status Failure
Total duration 3m 14s
Artifacts

docfx.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
docfx: tests/KubernetesClient.Tests/AuthTests.cs#L194
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
docfx: tests/KubernetesClient.Tests/AuthTests.cs#L191
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
docfx: tests/KubernetesClient.Tests/CertificateValidationTests.cs#L113
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
docfx: tests/KubernetesClient.Tests/CertificateValidationTests.cs#L84
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
docfx: tests/KubernetesClient.Tests/CertificateValidationTests.cs#L71
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
docfx: tests/KubernetesClient.Tests/CertUtilsTests.cs#L89
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
docfx: tests/KubernetesClient.Tests/CertUtilsTests.cs#L88
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
docfx: src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected
docfx: src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected