Obtain Server Certificates for HTTPS Messaging
Applies To: Windows Server 2008
Use this procedure to obtain server certificates for HTTPS messaging.
You can use this procedure to obtain server certificates for HTTPS messaging. A server certificate must be installed on the computer running Internet Information Services (IIS) to accommodate Secure Sockets Layer (SSL) communications between a client and the Message Queuing virtual directory hosted in IIS.
Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.
To obtain server certificates for HTTPS messaging
Click Start, point to Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
Under Connections, click to select the IIS server.
Double-click the Server Certificates feature available in the IIS section of the workspace for the IIS server to display the server certificates settings for the IIS server.
Click Create Certificate Request under the Actions section of the Internet Information Services (IIS) Manager to display the Request Certificate wizard.
Enter the required values for the Distinguished Name Properties and click Next.
Enter either the fully qualified domain name (FQDN) or the NetBIOS name of the IIS server into the Common name field. If clients will access this web site via the NetBIOS name, then enter the NetBIOS name into the Common name field of the certificate request. If clients will access this web site via the FQDN, then enter the FQDN into the Common name field of the certificate request. To determine the NetBIOS name and FQDN of a computer that is running Windows 7 or Windows Server 2008 R2, right-click Computer and click Properties. The specified Computer name is the NetBIOS name and the specified Full computer name is the FQDN.
Select values for Cryptographic service provider and Bit length on the Cryptographic Service Provider Properties page and click Next.
Enter a file name for the certificate request and click Finish.
On the server requiring a certificate, open your browser.
In your browser, open the form at http://*servername*/certsrv for requesting a certificate from your CA, where servername is the name of the IIS server where the CA that you want to access is located.
Click Request a certificate, and then click advanced certificate request.
Click Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file.
Open the file that contains the certificate request that you created earlier and paste the contents of this file into the Saved Request edit box on the Submit a Certificate Request or Renewal Request form.
Select the Web Server Certificate Template, specifiy any Additional Attributes, and then click Submit.
If you see the Certificate Issued web page, select the DER encoded or Base 64 encoded option on the Certificate Issued page, click Download certificate, and then save the security certificate to a folder on the IIS server.
If you see the Certificate Pending web page, request that the administrator of the CA issue the certificate from the Certification Authority MMC snap-in. Then return to the certificate request web page, click Download certificate, and save the security certificate to a folder on the IIS server.
If you are finished using the Certificate Services Web pages, close Your browser.
In Internet Information Services (IIS) Manager, double-click the Server Certificates feature available in the IIS section of the workspace for the IIS server to display the Server Certificates workspace for the IIS server.
Press F5 on your keyboard to refresh the Server Certificates workspace.
Right-click the Server Certificate request that you created earlier and select Complete Certificate Request to display the Complete Certificate Request dialog box.
Enter the path to the certificate (.cer) file that you downloaded from the Certificate Services web page or click the browse (..) button to locate the certificate file and populate the path to the certificate.
Enter a friendly name for the certificate in the Friendly name edit box and click OK.
In the Information Services (IIS) Manager, under Connections, right-click the Default Web Site.
Click Edit Bindings.
Click to select https in the Web Site Bindings dialog box and click Edit.
Select the appropriate options in the Edit Web Site Binding dialog box and click OK.
Ensure that you select the certificate with a common name that matches the IIS server name.
- After this procedure is complete, you can view the certificate. To do this, click View next to the SSL certificate edit box in the Edit Web Site Binding dialog box.