Question : Certreq in Windows 2003 Server (Certificate Authority)

I am trying to create a request file using Certreq in Windows 2003 Server. Request is getting created fine.

But when trying to Submit this request, it is showing The DNS name is unavailable and cannot be added to the Subject Alternate name. 0x8009480f (-2146875377)Denied by Policy Module" message.

Below is how my inf file looks like.

;----------------- request.inf -----------------

[Version]

Signature="$Windows NT$

[NewRequest]

Subject = "CN="
KeySpec = 1
KeyLength = 1024
Exportable = TRUE
MachineKeySet = TRUE
SMIME = False
PrivateKeyArchive = FALSE
UserProtected = FALSE
UseExistingKeySet = FALSE
ProviderName = "Microsoft RSA SChannel Cryptographic Provider"
ProviderType = 12
RequestType = PKCS10
KeyUsage = 0xa0

[EnhancedKeyUsageExtension]

OID=1.3.6.1.5.5.7.3.1 ; this is for Server Authentication

[RequestAttributes]
CertificateAttributes = DoaminControllerAuthentication
SAN=dns=abc.xyz.com&dns=ldap.xyz.com

;-----------------------------------------------

Kindly suggest, Thanks!

Answer : Certreq in Windows 2003 Server (Certificate Authority)

Try this

select date + ', ' from yourtable
FOR XML PATH('')

--Raj
Random Solutions  
 
programming4us programming4us