From 1a106e59fcd1c9e7fea0fa90c8586880c51ec434 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Wed, 13 Nov 2024 21:20:02 +0100 Subject: [PATCH] Update CertificateGenerator.cs (#362) --- .../AliasVault.Cryptography.Server/CertificateGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs b/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs index b14034b05..4e0cd75c2 100644 --- a/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs +++ b/src/Utilities/Cryptography/AliasVault.Cryptography.Server/CertificateGenerator.cs @@ -47,7 +47,7 @@ public static class CertificateGenerator DateTimeOffset.UtcNow.AddDays(-1), DateTimeOffset.UtcNow.AddYears(validityYears)); - return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx, password), password, X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.Exportable); + return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx, password), password, X509KeyStorageFlags.Exportable); } }