Link to home
Start Free TrialLog in
Avatar of djpierce54
djpierce54Flag for United States of America

asked on

Get 404 error when attempting to run Certsrv in browser

I have a Domain Controller on Server 2008 R2 with AD and IIS installed. I found a guide in a book that shows a step-by-step on how to install AD CS using Server Manager. I was able to set it up and had no errors at the time. I configured this Server to be the Root CA and then generated a new private key using the recommended settings. Once I had the role installed I attempted to access the site to issue a certificate. I got a 404 error from IIS and when I checked IIS server root document folder, there were no pages there for AD CS, even though the server was trying to get them from there.
I did the following tests:

C:\Users\administrator.GEOMETRICS>certutil -v -vroot
Web Virtual Root Already Exists
Active Server Pages (ASP) already enabled
File Share Already Exists
CertUtil: -vroot command completed successfully.

and this test too:
C:\Users\administrator.GEOMETRICS>certutil -ping
Connecting to GeoDC01.Geometrics.local\Geometrics-GEODC01-CA ...
Server "Geometrics-GEODC01-CA" ICertRequest2 interface is alive
CertUtil: -ping command completed successfully.

Lastly I checked the certsrv root folder but only contains MUI files.
%windir%\system32\certsrv\en-US (is root folder)

Suggestions appreciated
Avatar of Syed Ali
Syed Ali
Flag of Saudi Arabia image

Follow this article please
http://forums.iis.net/t/1164946.aspx
Avatar of djpierce54

ASKER

OK First my setup is 2008 R2 and IIS 7 - All 64 bit
Second the root directory does not have any web pages like Default.asp

This article does not match either of these issues.
This articale is pretty old and I reviewed the logs but nothing was reported other than 404 - not found.
Seems like the installation is where the problem resides.
Maybe if I remove this role and install again?
Are you usinjg MS SQL Server 2005 or any latest?
Are they both 64 bit? including the reporting services?
Well I did an Uninstall of AD CS, did a reboot and installed again and all is working.
Thanks for the assistance.
Actually what I found is now my Sharepoint V3.0 is not working.
Sharepoint is 32bit.  I have the feeling that if I redo the web interface for Sharepoint it will destroy the Certisrv website
yes it will
Certsrv 64 bit requires all supporting services to be on 64 bit as well
It even create problems if only MS SQL Reporting service on 32 bit is in use, as mentioned earlier

Create a backup before experimenting if its working now :)
ASKER CERTIFIED SOLUTION
Avatar of djpierce54
djpierce54
Flag of United States of America 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
The answers I got just did not resolve my issue.  Changing the port mappings on my own resolved this issue.
Avatar of CJcjcjcj
CJcjcjcj

I had the same issue but found the solution.

When installing the Role for "AD CS" on Server 2008 R2, there will be a section where you choose "Certificate Authority".

Also choose "Certification Authority Web Enrollment".

This took care of the issue for me and I was getting the same 404 error when trying to open CertSrv from a browser using "http://localhost/certsrv"

Hope this helps.