Tag: Certificate

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

IMPORTANT NOTE I 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. IMPORTANT NOTE II Except for PFX … Continue reading How to import a certificate into the Local COMPUTER’s store

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 … Continue reading How to import a certificate into the Local USER’s store

[Solved] ID 1220 LDAPS 8009030e No credentials are available in the security package

You get the following error message in the LDAP event log: Id : 1220 Message : LDAP over Secure Sockets Layer (SSL) will be unavailable at this time because the server was unable to obtain a certificate. Additional Data Error value: 8009030e No credentials are available in the security package The reason It is always … Continue reading [Solved] ID 1220 LDAPS 8009030e No credentials are available in the security package

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 … Continue reading How to create a certificate request policy file