Method 1: Modify the CES URL in Internet Information Services (IIS) Manager
- Ensure that you are connected to the computer running the Certificate Enrollment Web Service server role.
- From Server Manager, click Tools, and then click the Internet Information Services (IIS) Manager.
- In the Connections pane, expand the web site that you want to manage.
Note: If you see an Internet Information Services (IIS) Manager message that asks if you want to get started with Microsoft Web Platform, click Cancel.
- Expand Sites, and then expand the Default Web Site.
- Click the virtual application that corresponds to the Certificate Enrollment Web Service that you are running.
- In the center pane, double-click Application Settings.
- In Application Settings, double-click URI.
- In Edit Application Settings, under Value, enter %20 for every space in the uniform resource identifier value.
- Once you have a URI value that where all spaces have been replaced with %20, click OK.
Method 2: Modify the CES URL from the command line using APPCMD.EXE.
- Open a Command Prompt or Windows PowerShell as an administrator on the computer that is running the Certificate Enrollment Web Services.
- Change to the %systemroot%\system32\inetsrv directory, so you can use the appcmd utility.
- Run the command appcmd list apps to see a list of applications running on the computer. Identify the Certificate Enrollment Web Services application that you want to modify. This application should have CES in the APP name and is typically running in the applicationPool:WSEnrollmentServer.
- Run the command appcmd list config "Default Web Site/<appname>" /section:appsettings. Replace the <appname> with the name of the Certificate Enrollment Web Services application that you identified in the previous step.
- Run the command appcmd config "Default Web Site/<appname>" /section:appsettings /"[key='URI'].value:"<newURI>". Replace <appname> with the application name you identified in step 3. Replace <newURI> with the same URL that you saw in Step 4, except for each space in the URL, replace it with %20. See the following figure for an example of these commands.
- Restart the IIS server (iisreset).
ID d'article : 2815697 - Dernière mise à jour : 27 avr. 2013 - Révision : 1