This article explains how to generate and install an SSL certificate on a StoreFront server for HTTPS connections. If you have already generated an SSL certificate on one of your StoreFront servers in the StoreFront server group, you can just export the existing SSL certificate and import the certificate on other StoreFront servers. For detailed instructions to export and import an SSL certificate for StoreFront, refert to CTX206492 - How to Export and Install an SSL Certificate for StoreFront to Use HTTPS.
If the certificate is generated on NetScaler, Please make sure that you convert it to pfx before attempting to install it on StoreFront Server.
Complete the following steps to generate a certificate signing request (CSR) for Microsoft IIS on a StoreFront server:
Notes: The recommended key bit size is 2048-bit. All certificates that will expire after December 31, 2013 must have a 2048-bit key size.
Click Start > Administrative Tools > Internet Information Services (IIS) Manager.
In the IIS Manager, select your server name.
In the central pane, double-click the Server Certificates option located in the IIS section.
To begin the process of requesting a new certificate, from the Actions pane, select Create Certificate Request option as shown in the following screen shot.
The first screen of the wizard asks for details regarding the new site. All the fields must be entered. To fill in this form, consider the following:
Note: SSL certificates can only be used on web servers using the Common Name specified during enrollment. For example, a certificate for the domain "domain.com" will receive a warning if accessing a site named “www.domain.com” or “secure.domain.com”, because “www.domain.com”and “secure.domain.com” are different from “domain.com”.
Click Next to continue.
In the Cryptographic Service Provider Properties screen, retain the default option Microsoft RSA SChannel Cryptography Provider and select a key Bit length of 2048.
Click Next to continue.
Type a file name to which you want to save the certificate request. Note: You will need the contents of this file in the next step. Therefore, ensure you know where to find it. To change the location of where you want to save the CSR, select the box with the 3 periods next to the file name.
During certificate enrollment, you are asked to submit the file. Open the file you created from the previous steps and copy the contents. Then paste the contents into the window when requested in enrollment.
Access the address for Web Enrollment of digital certification in the URL https:// <FQDN of the CA Server> / CertSrv and click Request Certificate.
Click advanced certificate request.
Select Submit a certificate request by using the base 64-encoded CMC or PKCS # 10 file, or submit a renewal request by using the base 64-encoded PKCS # 7 file.
Open the request file in Notepad, select and copy the entire content.
Paste the contents of the file request in the Saved Request text box.
Select the Certificate Template: "Web Server" and click Submit.
The certificate will be generated. Click Download Certificate and save the certificate in a folder.
Check if the settings of the certificate are correct. In addition check if the option of private key is present in the certificate.
Double click on Server Certificates.
Click Complete Certificate Request....
Select Certificate file to import and enter any friendly name that helps you to track the certificate. Select Personal as store location in IIS 8 and later.
The certificate is now imported.
Select the Sites\Default Web Site node, and click Bindings....
Click Add.
Note: Do not remove the http binding especially when the same server is DDC as well.
Select https as type, select the SSL certificate from drop-down list and click OK.
Now, you can create a StoreFront deployment on secure service using https (SSL). Open the StoerFront console, click Server Group in the left pane. StoreFront is not currently using the SSL certificate.
Change http: to https: and click OK.