Learn how to generate CSR in IIS with Private key. Our IIS Support team is here to help you with your questions and concerns.
How to generate CSR with Private Key in IIS
We can secure our website or web application by generating a Certificate Signing Request (CSR).
Today, we are going to take a look at how to generate a CSR in Microsoft Internet Information Services (IIS):
- First, click Start and head to Administrative Tools.
- Then, we have to click Internet Information Services (IIS) Manager.
- After that, select the server name and head to the center menu.
- At this point, we have to double-click the “Server Certificates” button in the “Security” section.
- Next, select “Create Certificate Request” from the Actions menu. This will open the Request Certificate wizard.
- Then, enter the following information in the “Distinguished Name Properties” window:
- Common Name
- Organization
- Organizational unit
- City/locality
- State/province
- Now, click Next and head to the “Cryptographic Service Provider Properties” window.
- We have to leave the settings at default values and click next.
- Then, enter a filename for our CSR file.
- Now, we have to remember the filename that we have chosen as well as its location. We have to open this file as a text file and copy the entire content to the online order process when prompted.
How to Back Up Private Key
- First, head to Start on the Server and click Run.
- Then, enter mmc in the text box and click OK.
- Now, choose Add/Remove Snap-in under Console from the MMC menu bar.
- Next, we have to click Add and choose Certificates from the list of snap-ins and then click on the Add button.
- Then, choose the Computer account option and click Next.
- At this point, we have to click the Local computer and click the Finish button.
- Next, click the Close button on the snap-in list window and click the OK button on the Add/Remove Snap-in window.
- Then, click Certificates and find the folder called REQUEST or “Certificate Enrollment Request” Certificates.
- Now, choose the private key we want to back up. Then, right-click the file and choose Exports under All Tasks.
- Once the certificate export wizard starts, click Next. After that, select “Yes, export the private key” and click Next.
- We can leave the default settings as it is and click Next.
- Then, set a password on the private key backup file before clicking Next.
- At this point, we have to Click Browse and choose the location where we want to save the private key Backup file. Then click Next to continue.
- Finally, click Finish.
How to convert to RSA Private Key Format
- First, we have to download and install the latest version of OpenSSL from this link. http://www.slproweb.com/products/Win32OpenSSL.html
- Then, enter C:\OpenSSL-Win32\bin> in the command prompt and run these commands:
Set OPENSSL_CONF=c:\openssl-win32\bin\openssl.cfg
openssl pkcs12 -in filename.pfx -nocerts -out key.pem
openssl rsa -in key.pem -out myserver.key - At this point, the private key will be saved as ‘myserver.key’.
- Now, we have to protect the private key by taking a backup.
[Need assistance with a different issue? Our team is available 24/7.]
Conclusion
In brief, our Support Experts demonstrated how to generate CSR with a Private Key in IIS.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments