After creating the new template, you will need to
configure your domain for autoenrollment. If you have already deployed
Active Directory Certificate Services for other PKI-dependent
applications, you may have already enabled this setting. If not, it can be done by performing the following:
Log on to a domain controller and open Group Policy Management from Start | Administrative Tools | Group Policy Management.
Expand the nodes Forest | Domains | <your domain name> (see Figure 15).
Figure 15. Editing Default Domain Policy.
Right click the Default Domain policy and select Edit.
Select the node Computer Configuration | Policies | Windows Settings | Security Settings | Public Key Policies.
Open the policy object Certificate Services Client—AutoEnrollment as seen in Figure 16.
Figure 16. Public Key Policies.
Select the option Enabled. Then select both Renew expired certificates, updating pending certificates, and remove revoked certificates and Update certificates that use certificate templates options (see Figure 17). Then click OK.
Figure 17. AutoEnrollment Properties.
You can now force autoenrollment to occur on the hosted cache server by logging onto that server and running gpupdate from a command prompt.
certificates for the hosted cache server, you need to link the
certificate to BranchCache. This is done by obtaining the SHA-1 hash
from the server’s certificate and then using the netsh command to link
the certificate. To complete this process, perform the following:
Open a new mmc console by opening a new dialog from Start | Run. Then type mmc in the run prompt and click OK (see Figure 18).
Figure 18. Open new MMC console.
From the new mmc console, go to File | Add/Remove Snap-in....
Add the Certificates snap-in from the options as seen in Figure 19.
Figure 19. Add Certificates snap-in.
When prompted whether you would like to manage certificates for user, computer, or service, select the Computer option and then choose Local Computer.
From the MMC console, expand the nodes Certificates | Personal | Certificates. Then open the server certificate as seen in Figure 20.
Figure 20. Certificates MMC console.
Select the Details tab in the Certificate window.
Scroll through the fields in the details view and select the Thumbprint field as seen in Figure 21.
Figure 21. Server Certificate Thumbprint.
Copy the SHA-1 hash by selecting the hex-formatted number and using the Ctrl-C keystroke.
Open Notepad and paste the SHA-1 hash to verify whether it has been copied correctly (see Figure 22).
Correct the formatting of the hash by removing all the spaces creating
one long hexadecimal number. This is the number we will need to link the
certificate to BranchCache.
Figure 22. SHA-1 Hash.
a command prompt on the hosted cache server and enter the following
command netsh command which includes the SHA-1 hash we copied from Step 9. netsh http add sslcert
You have now successfully
completed the process of setting up the BranchCache hosted cache server.
As clients begin caching files locally, they will be saved in the cache
of this server. Now, you only need to configure client computers to use
the hosted branch cache. This can be done on a Windows 7 client by
using the netsh command: netsh branchcache set service mode=HOSTEDCLIENT.
You can additionally update multiple Windows 7 clients to use the
hosted cache by deploying a GPO which can perform the same functions.