Link the hosted cache server certificate to BranchCache

Updated: October 7, 2009

Applies To: Windows 7, Windows Server 2008 R2

You can use this procedure to link the server certificate of a hosted cache server to BranchCache using network shell (netsh) commands.


In this procedure you must use the SHA-1 hash of the hosted cache server certificate that you obtained while performing the previous procedure in this guide. Before using the SHA-1 hash in this procedure, remove all spaces from the SHA-1 hash. Do not replace the spaces with alternate characters, just remove the spaces. If you do not remove the spaces from the SHA-1 hash, the effort to link the certificate to BranchCache will fail.

Membership in Domain Admins, or equivalent is the minimum required to perform this procedure.

  1. On the BranchCache hosted cache server that you want to configure, click Start, click Search programs and files, and then type command. In search results, under Programs, right-click Command Prompt, and then click Run as Administrator. The command prompt opens with the elevated privileges that are required to run netsh commands.

  2. Run the following command: netsh http add sslcert ipport= certhash=SHA-1_Hash appid={d673f5ee-a714-454d-8de2-492e4c1bd8f8}, where SHA-1_Hash is the SHA-1 hash of the server certificate on the hosted cache server.