File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public static X509Certificate2 GeneratePfx(KubernetesClientConfiguration config)
81
81
if ( config . ClientCertificateKeyStoreFlags . HasValue )
82
82
{
83
83
#if NET9_0_OR_GREATER
84
- X509CertificateLoader . LoadPkcs12 ( cert . Export ( X509ContentType . Pkcs12 ) , nullPassword , config . ClientCertificateKeyStoreFlags . Value ) ;
84
+ cert = X509CertificateLoader . LoadPkcs12 ( cert . Export ( X509ContentType . Pkcs12 ) , nullPassword , config . ClientCertificateKeyStoreFlags . Value ) ;
85
85
#else
86
86
cert = new X509Certificate2 ( cert . Export ( X509ContentType . Pkcs12 ) , nullPassword , config . ClientCertificateKeyStoreFlags . Value ) ;
87
87
#endif
@@ -90,7 +90,7 @@ public static X509Certificate2 GeneratePfx(KubernetesClientConfiguration config)
90
90
else
91
91
{
92
92
#if NET9_0_OR_GREATER
93
- X509CertificateLoader . LoadPkcs12 ( cert . Export ( X509ContentType . Pkcs12 ) , nullPassword ) ;
93
+ cert = X509CertificateLoader . LoadPkcs12 ( cert . Export ( X509ContentType . Pkcs12 ) , nullPassword ) ;
94
94
#else
95
95
cert = new X509Certificate2 ( cert . Export ( X509ContentType . Pkcs12 ) , nullPassword ) ;
96
96
#endif
You can’t perform that action at this time.
0 commit comments