Skip to content

Commit 758eaea

Browse files
committed
fix load error on linux
1 parent 8e9ed00 commit 758eaea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static X509Certificate2 GeneratePfx(KubernetesClientConfiguration config)
9393

9494
using (var pkcs = new MemoryStream())
9595
{
96-
store.Save(pkcs, null, new SecureRandom());
96+
store.Save(pkcs, new char[0], new SecureRandom());
9797
return new X509Certificate2(pkcs.ToArray());
9898
}
9999
}

0 commit comments

Comments
 (0)