From 2cd48b9e167b88b9d9a8c82a4a8f6240d413bae0 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 6 Feb 2009 22:06:28 +0000 Subject: [PATCH] Allow private keys on Vista to be exportable encrypted. (Not in plaintext) --- pages/account/4.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/account/4.php b/pages/account/4.php index 06d24f1..0818815 100644 --- a/pages/account/4.php +++ b/pages/account/4.php @@ -107,6 +107,7 @@ Function CSR(keyflags) // "Microsoft Enhanced RSA and AES Cryptographic Provider" objPrivateKey.ProviderType = "24" objPrivateKey.KeySpec = "1" + objPrivateKey.ExportPolicy = 1 objRequest.InitializeFromPrivateKey 1, objPrivateKey, "" Set objDN = g_objClassFactory.CreateObject("X509Enrollment.CX500DistinguishedName") objDN.Encode("CN=CAcertRequest")