Solved

The DNS name is unavailable and cannot be added to the Subject Alternate name

Posted on 2011-02-11
3
10,939 Views
Last Modified: 2012-06-27
We have a new Windows 2008 R2 domain controller in a remote site connected by VPN tunnel. All ports open between site and CA.
CA is Windows 2003 SP2 Enterprise CA.

The new DC is in DNS with all server records.

When trying to submit request to CA I get the error
Certificate not issued (Denied) Denied by Policy Module The DNS name is unavailable and cannot be added to the Subject Alternate name. 0x8009480f (-2146875377)
Certificate Request Processor: The DNS name is unavailable and cannot be added to the Subject Alternate name. 0x8009480f (-2146875377)
Denied by Policy Module

I've followed this:
by Richard Hyland

I've tried this:
by minfei

commands run on DC:
cscript reqdccert.vbs (script by MS - see first link)
certreq -new NEWDC.inf NEWDC.req

Open in new window


command run on CA (produces the error):
certreq -attrib "CertificateTemplate:DomainController" NEWDC.req

Open in new window




NEWDC.inf:
[Version]
Signature= "$Windows NT$"

[NewRequest]
Subject = "CN=NEWDC.DOMAIN.COM"
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
OID=1.3.6.1.5.5.7.3.2
;
; The subject alternative name (SAN) can be included in the INF-file
; for a Windows 2003 CA.
; You don't have to specify the SAN when submitting the request.
;
[Extensions]
2.5.29.17=MDSCEURDLVRSSC0wMS5CRUtLLm5voB8GCSsGAQQBgjcZAaASBBDXwNLlTQHnQrYC
_continue_=GMg5dXe9
Critical=2.5.29.17
;
; The template name can be included in the INF-file for any CA.
; You don't have to specify the template when submitting the request.
;
;[RequestAttributes]
;CertificateTemplate=DomainController

Open in new window



Any help appreciated

-Eivind Brenningen
0
Comment
Question by:EivindB
3 Comments
 
LVL 11

Expert Comment

by:Tasmant
ID: 34869921
could you try to add the subject alternate name attribute on your CA before requesting your certificate?
Follow this link: http://support.microsoft.com/kb/931351/en-us
0
 
LVL 11

Accepted Solution

by:
Old User earned 500 total points
ID: 34870021
0
 
LVL 1

Author Closing Comment

by:EivindB
ID: 34870184
Running the "cscript fixdctemplate.vbs domaincontroller" command (script provided by MS in link) solved the problem.

Thank you!

-Eivind
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article runs through the process of deploying a single EXE application selectively to a group of user.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question