Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

Certificate Template OID not working in INF file

$
0
0

I am trying to create a certificate request using the following INF file but I keep getting the following error:

"An attempt was made to perform an initialization operation when initialization has already been completed. 0x800704df (WIN32: 1247) ./cert.inf"

I have noticed that if I replace the certificate template with the actual name of the template as oppose to the OID all works fine. Why will it not accept the OID of the template, MS documentation states it should take either. 

INF file : 

[Version]
Signature = "$Windows NT$
[NewRequest]
Subject = "CN=npeorg,OU=DISA,OU=PKI,OU=DoD,O=U.S. Government,C=US"
KeySpec = 1
KeyLength = 2048
Exportable = TRUE
MachineKeySet = TRUE
ProviderName = "Microsoft RSA SChannel Cryptographic Provider"
ProviderType = 12
RequestType = PKCS10
[RequestAttributes]
CertificateTemplate= "1.3.6.1.4.1.311.21.8.10914437.5958723.2445199.10881373.13000133.184.5889660.12536910"

Please help ??




Viewing all articles
Browse latest Browse all 12072

Trending Articles