certreq cannot find the file


I'm building up my exchange 2010 server.

I'm at the Exchange certificate step and I ran into this issue.

I'm using certreq to provide my own certificate. This is what I try to do:

certreq -new gutenberg.domain.local.inf gutenberg.domain.local.req
certreq -submit gutenberg.domain.local.req gutenberg.domain.local.crt
certreq -accept gutenberg.domain.local.crt

I'm having the following error at the second step and this is the error output.

C:\Users\mo\Desktop>certreq -submit gutenberg.domain.local.req gutenberg.domain.local.crt
Active Directory Enrollment Policy
Certificate Request Processor: The system cannot find the file specified. 0x8007
0002 (WIN32: 2)
Who is Participating?

Improve company productivity with a Business Account.Sign Up

praveenkumare_spConnect With a Mentor Commented:
U need to have the FQDN of the server, external domain, internal damain , autodiscover.externaldomain.com, owa url

these all must be there in the -DomainName attribute
You will have to run the following command for creating a cert in 2010

New-ExchangeCertificate -GenerateRequest -SubjectName "c=ES, o=Woodgrove Bank, cn=mail1.woodgrovebank.com" -DomainName woodgrovebank.com, example.com -BinaryEncoded -PrivateKeyExportable $true -path "C:\Docs\MyCertRequest.req"

Change the above command and put your domain names u need
tblincAuthor Commented:
I need to insert FQDN or real domain name ?
tblincAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.