Certificate request file syntex for critical extensions

Certificate request file syntex for critical extensions

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Certificate request file syntex for critical extensions =?Utf-8?B?S2FQZXM=?= 02-27-2008
Posted by =?Utf-8?B?S2FQZXM=?= on February 27, 2008, 12:29 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,

I have a Standalone Root CA running on Windows 2003 SP2.
I want to enable SSL, TLS for RDP connections to domain controllers, for
that I am following the KB article :http://support.microsoft.com/?id=895433
I am able to request a "server authentication" certificate using web
enrollment, but I wanted to automate this process using certreq.exe and INF
file.
My version of INF is not working, as I am able to generate the certificate,
but it is not showing up as a available certificate for RDP SSL in TS
configuration properties.
Only difference I saw between certificate obtained from webenrollment &
certificate obtained from certreq.exe was keyusage extension being not
critical in certreq.exe certificate.
So, I am assuming that is the problem.
I am not able to set the key usage extension to critical, can anyone help me
with conversion of keyusage value to base64 version as required by INF

If it helps anyone, the Keyusage requires data in ASN.1 BIT STRING format.
http://www.ietf.org/rfc/rfc3280.txt


My INF file


[Version]

Signature= "$Windows NT$"



[NewRequest]

KeySpec = 1

KeyLength = 2048

Exportable = TRUE

MachineKeySet = TRUE

SMIME = FALSE

PrivateKeyArchive = FALSE

UserProtected = FALSE

UseExistingKeySet = FALSE

ProviderName = "Microsoft RSA SChannel Cryptographic Provider"

ProviderType = 12

KeyUsage = 0x30

Subject = "CN=server1.domain.com"

[EnhancedKeyUsageExtension]

OID = 1.3.6.1.5.5.7.3.1 ; for "Server Authentication"

[Extensions]

2.5.29.15 = ??????

Critical = 2.5.29.15



Appreciate any help provided :)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Argue for your limitations, and sure enough, they're yours.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar ThreadsPosted
Re: file extensions to exclude November 23, 2005, 10:06 am
file extensions to exclude November 22, 2005, 10:29 am
Security tab missing on specific file extensions - 2003 June 22, 2006, 11:25 pm
Security Tab Missing From Specific File Extensions - 2003 June 22, 2006, 11:28 pm
Cannot Request Certificate February 27, 2007, 7:45 am
LDAPS--certificate request February 3, 2006, 12:44 pm
Certificate Request Question March 3, 2006, 10:31 am
Certificate request only 2 years December 5, 2007, 9:59 am
Permissions requried to request a certificate. September 8, 2008, 9:07 pm
Automatic Certificate Request Setup Wizard May 24, 2006, 4:41 am

The site map in XML format XML site map

Contact Us | Privacy Policy