Applies To: Windows Server 2016
You can use this procedure to configure the web server WEB1 to distribute CRLs.
In the extensions of the root CA, it was stated that the CRL from the root CA would be available via http://pki.corp.contoso.com/pki. Currently, there is not a PKI virtual directory on WEB1, so one must be created.
To perform this procedure, you must be a member of Domain Admins.
In the procedure below, replace the user account name, the Web server name, folder names and locations, and other values with those that are appropriate for your deployment.
To configure WEB1 to distribute certificates and CRLs
On WEB1, run Windows PowerShell as an administrator, type
explorer c:\, and then press ENTER. Windows Explorer opens to drive C.
Create a new folder named PKI on the C: drive. To do so, click Home, and then click New Folder. A new folder is created with the temporary name highlighted. Type pki and then press ENTER.
In Windows Explorer, right-click the folder you just created, hover the mouse cursor over Share with, and then click Specific people. The File Sharing dialog box opens.
In File Sharing, type Cert Publishers, and then click Add. The Cert Publishers group is added to the list. In the list, in Permission Level, click the arrow next to Cert Publishers, and then click Read/Write. Click Share, and then click Done.
Close Windows Explorer.
Open the IIS console. In Server Manager, click Tools, and then click Internet Information Services (IIS) Manager.
In the Internet Information Services (IIS) Manager console tree, expand WEB1. If you are invited to get started with Microsoft Web Platform, click Cancel.
Expand Sites and then right-click the Default Web Site and then click Add Virtual Directory.
In Alias, type pki. In Physical path type C:\pki, then click OK.
Enable Anonymous access to the pki virtual directory, so that any client can check the validity of the CA certificates and CRLs. To do so:
In the Connections pane, ensure that pki is selected.
On pki Home click Authentication.
In the Actions pane, click Edit Permissions.
On the Security tab, click Edit
On the Permissions for pki dialog box, click Add.
In the Select Users, Computers, Service Accounts, or Groups, type ANONYMOUS LOGON; Everyone and then click Check Names. Click OK.
Click OK on the Select Users, Computers, Service Accounts or Groups dialog box.
Click OK on the Permissions for pki dialog box.
Click OK on the pki Properties dialog box.
In the pki Home pane, double-click Request Filtering.
The File Name Extensions tab is selected by default in the Request Filtering pane. In the Actions pane, click Edit Feature Settings.
In Edit Request Filtering Settings, select Allow double escaping and then click OK.
In the Internet Information Services (IIS) Manager MMC, click your Web server name. For example, if your Web server is named WEB1, click WEB1.
In Actions, click Restart. Internet services are stopped and then restarted.