We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d84f0 commit 33b5ef2Copy full SHA for 33b5ef2
src/KubernetesClient/Kubernetes.ConfigInit.cs
@@ -218,7 +218,7 @@ public static bool CertificateValidationCallBack(
218
chain.ChainPolicy.CustomTrustStore.AddRange(caCerts);
219
chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
220
#else
221
- throw new NotSupportedException("Custom trust store is not supported on this platform.");
+ throw new NotSupportedException("Custom trust store requires .NET 5.0 or later. Current platform does not support this feature.");
222
#endif
223
var isValid = chain.Build((X509Certificate2)certificate);
224
0 commit comments