[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2995
  • Last Modified:

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)
0
tblinc
Asked:
tblinc
  • 2
  • 2
1 Solution
 
praveenkumare_spCommented:
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
0
 
tblincAuthor Commented:
I need to insert FQDN or real domain name ?
0
 
praveenkumare_spCommented:
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
0
 
tblincAuthor Commented:
thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now