File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/KubernetesClient.Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ public void Cert()
196
196
}
197
197
198
198
#if NET9_0_OR_GREATER
199
- var clientCertificate = X509CertificateLoader . LoadPkcs12 ( Convert . FromBase64String ( clientCertificateData ) , "" ) ;
199
+ var clientCertificate = X509CertificateLoader . LoadCertificate ( Convert . FromBase64String ( clientCertificateData ) ) ;
200
200
#else
201
201
var clientCertificate = new X509Certificate2 ( Convert . FromBase64String ( clientCertificateData ) , "" ) ;
202
202
#endif
@@ -310,7 +310,7 @@ public void ExternalCertificate()
310
310
}
311
311
312
312
#if NET9_0_OR_GREATER
313
- var clientCertificate = X509CertificateLoader . LoadPkcs12 ( clientCertificateData , "" ) ;
313
+ var clientCertificate = X509CertificateLoader . LoadCertificate ( clientCertificateData ) ;
314
314
#else
315
315
var clientCertificate = new X509Certificate2 ( clientCertificateData , "" ) ;
316
316
#endif
You can’t perform that action at this time.
0 commit comments