Update certificate validation to use custom trust store for .NET 5.0+ #2037
Triggered via pull request
August 26, 2025 21:36
Status
Success
Total duration
1h 19m 5s
Artifacts
–
Annotations
10 warnings
Analyze (csharp):
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)
|
Analyze (csharp):
tests/KubernetesClient.Tests/AuthTests.cs#L300
'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)
|
Analyze (csharp):
tests/KubernetesClient.Tests/AuthTests.cs#L297
'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)
|
Analyze (csharp):
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)
|
Analyze (csharp):
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)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertificateValidationTests.cs#L112
'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)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertificateValidationTests.cs#L83
'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)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertificateValidationTests.cs#L70
'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)
|
Analyze (csharp):
src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected
|
Analyze (csharp):
src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected
|