Link to home
Start Free TrialLog in
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)
Avatar of praveenkumare_sp
praveenkumare_sp
Flag of India image

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
Avatar of tblinc
tblinc

ASKER

I need to insert FQDN or real domain name ?
ASKER CERTIFIED SOLUTION
Avatar of praveenkumare_sp
praveenkumare_sp
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tblinc

ASKER

thanks