How to import a certificate into the Local USER’s store

IMPORTANT NOTE If your .CER certificate contains a private key, you can only import it through the MMC console. Neither the certutil nor the Import-Certificate cmdlet keeps the private key during the import process. The Import-PfxCertificate cmdlet keeps the private key, but it does not import .CER certificates. Import the certificate with Certutil The following […]

How to create a certificate request policy file

Create a text file and name it for example RequestPolicy.inf. Copy/paste the following text to the file: [Version] Signature=”$Windows NT$” [NewRequest] Subject = “CN=myserver.mycompany.com” KeyLength = 2048 KeySpec = 1 KeyUsage = 0xA0 ProviderName = “Microsoft RSA SChannel Cryptographic Provider” RequestType = PKCS10 FriendlyName = “My application” [EnhancedKeyUsageExtension] OID=1.3.6.1.5.5.7.3.1 ; Server Authentication OID=1.3.6.1.5.5.7.3.2 ; Client […]