Install and configure your SSL Certificate on Windows Server 2012 with IIS

By | July 21, 2016

Windows-Server

Have you created a Certificate Signing Request (CSR)? If no then you need to create it and order your certificate.
Below are the steps to create CSR request –

  • Open the Internet Information Services (IIS) Manager by pressing the command Win+R > “inetmgr” > Enter.
  • Double-click the Server Certificates icon on the Home page.

csr_iis8_1

  • Click on the Create Certificate Request from Actions menu on the right which will open the Request Certificate.

csr_iis8_2

  • In the Distinguished Name Properties window enter the below information –

csr_iis8_3

  1. Common Name – It is the name through which certificate will be accessible. It is usually the completely-qualified domain name. e.g. www.domain.com or mail.domain.com.
  2. Organization – The legally registered name of your company/organization.
  3. Organizational Unit – The department name within the company (this entry will be listed as “Web Security”, “IT” or can be simply left blank.)
  4. City/Locality – The place where your organization is located.
  5. State/Province – The state in which your organization is settled.
  6. Country/Region – The country where your company is located.
  • Click Next.
  • Enter the below information in Cryptographic Service Provider Properties and click Next
  1. Cryptographic Service Provider – Select Microsoft RSA Channel from the drop-down list or if you have a specific cryptographic provider select the name from the list.
  2. Bit Length – Select 2048 (or higher) in the drop-down list.

csr_iis8_4

  • In the File Name window, you will need to specify the name of the file to which a newly generated CSR code will be saved and a place where the file would be stored. You can type in the path to the field or use “…” button to browse the file system.
  • csr_iis8_5

  • After specifying the file name and location, click the Finish button.
  • It’s easy to locate the CSR file on the computer, open it with a text editor and use the CSR for SSL certificate activation.

Steps to install SSL Certificate on Windows Server 2012 from IIS

  • Open the ZIP file that contains your certificate and save the file named cer to the web server’s desktop which you are securing.
  • Start the Internet Information Services (IIS) Manager.
  • Double-click the Server Certificates icon from the Home.
  • install_iis8_1

  • Hover the mouse to Actions panel on the right-side and click on Complete Certificate Request which will open the Complete Certificate Request.
  • The screen will display Specify Certificate Authority Response which contains 3 fields.
  1. File name containing the certification authority’s response – browse through the file system to the certificate file which you have received from the certificate authority.
  2. Friendly name – It helps the server administrator to easily find a particular certificate You can provide the domain name of the certificate in this field.
  3. Select a certificate store for the new certificate – Select Personal from the drop-down list.

install_iis8_3

  • Click OK button once all the fields are set properly.
  • The certificate is uploaded to the server and should appear in the storage now.

Steps to configure your SSL certificate on Windows Server 2012 R2 – IIS

  • Once the successful installation of SSL certificate is done on your server, you will require assigning it to the appropriate website by using IIS.
  • Hover the mouse to the Connections panel on the left side of Internet Information Services (IIS) Manager and select the website from the Sites subfolder.
  • install_iis8_5

  • Navigate to the Actions menu and click on Bindings on the right side to open the Site Bindings.
  • install_iis8_6

  • Now click Add to open AddSiteBinding window in the Site Bindings and modify the below fields here –

install_iis8_7

  1. Type – Choose https from the drop-down menu.
  2. IP address – Select the IP address or if same IP is going to be used for multiple SSL’s on different sites then SNI has to be enabled as well.
  3. Port – Specify the port number for a secure connection. The default post number is443.
  4. SSL Certificate – Select the certificate that was installed needs to be specified.

install_iis8_8

  • Now click OK.

Your SSL certificate is now installed and the website is configured to permit secure connections. Once SSL installed on Domain, Please check domain on below link for verification -https://www.sslshopper.com/ssl-checker.html