Published: May 26, 2010
Applies To: Windows 7, Windows Server 2008 R2
You can use these procedures to create a self-signed certificate using Internet Information Services (IIS), and then export the certificate for use on client computers.
On Hosted-01, click Start. click Run. and then type mmc. The Microsoft Management Console (MMC) opens.
In the MMC, click File. and then click Add/Remove Snap-in. The Add or Remove Snap-ins dialog box opens. In Available snap-ins. click Internet Information Services (IIS) Manager. and then click Add. Click OK .
In the IIS console, double click Internet Information Services (IIS) Manager. and then click Hosted-01 (HOSTED-01) .
In Hosted-01 Home. scroll to and double-click Server Certificates .
In Actions. click Create Self-Signed Certificate.
The Create Self-Signed Certificate page opens. In Specify a friendly name for the certificate. type BranchCache.
Click OK. IIS Manager creates a self-signed certificate named BranchCache. which is displayed in IIS Manager. Do not close the MMC, as it is used in the next procedure.
You can use the following procedure to export the BranchCache certificate to a folder location on Hosted-01.
You must be a member of the Administrators group to perform this procedure.
In the MMC, click File. and then click Add/Remove Snap-in. The Add or Remove Snap-ins dialog box opens. In Available snap-ins. click Certificates. and then click Add.
The Certificates snap-in page opens. On the Certificates snap-in page, click Computer account. and then click Next .
In Select Computer. ensure that Local computer is selected, and then click Finish.
Click OK. The Certificates snap-in is added to the same MMC that contains the IIS Manager snap-in. In the MMC, double-click Certificates (Local Computer), double-click Personal. and then click Certificates. In the details pane, the BranchCache certificate issued to Hosted-01 is displayed.
Right-click Hosted-01. click All Tasks. and then click Export.
The Certificate Export Wizard opens. Click Next .
In Export Private Key. ensure that No, do not export the private key is selected, and then click Next .
In Export File Format. ensure that DER encoded binary X.509 (.CER) is selected, and then click Next .
In File to export. click Browse. and then navigate to a folder location where you want to save the certificate. In File name. type BranchCache. and then click Save. The Browse dialog box closes and the File to export page is displayed with the file location and file name that you selected. For example, if you selected a file location of C: and a file name of BranchCache. C:\BranchCache.cer is displayed.
Click Next. and then click Finish. An information dialog box opens that displays the message The export was successful. Click OK .
If needed, click Finish. Using Windows Explorer, navigate to the file location where you saved the certificate. Copy the certificate and save the certificate to a file location on both Client-01 and Client-02.