Avatar of tblinc
tblinc
 asked on

certreq cannot find the file

Greetings,

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
  {1518BC04-29BA-49DA-9352-B7598B4E187B}
  ldap:
Certificate Request Processor: The system cannot find the file specified. 0x8007
0002 (WIN32: 2)
Windows Server 2008Exchange

Avatar of undefined
Last Comment
tblinc

8/22/2022 - Mon
praveenkumare_sp

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
tblinc

ASKER
I need to insert FQDN or real domain name ?
ASKER CERTIFIED SOLUTION
praveenkumare_sp

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
tblinc

ASKER
thanks
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes