Microsoft Windows Operating System installation procedure

Webner Solutions
4 min readJan 29, 2021

--

Microsoft Windows Operating System installation procedure

Officially Certbot is now available for windows too. It is not that much complicated, but you have to be careful while doing this on a live server.

Step 1.

Important note
This would require administrative privileges.

Step 2.

Specific Windows system requirements and user knowledge requirements

  • Basic knowledge of the command-line interface (CLI) is required because Certbot is purely based on the CLI program.
  • The user account must have administrative privileges to install and run the Certbot utility.
  • use PowerShell instead of Command prompt (CMD) with elevated privileges before invoking Certbot utility.
  • Default Path C:\Certbot must be writable by the current user.
  • Certbot for Windows is currently unable to automatically renew wildcard certificates.
  • The Apache and Nginx plugins will be available soon and a plugin to install certificates into IIS is under development, but you can install the certificates manually.

Step 3.

Installation instructions (Standalone Method for IIS)

  1. Connect locally or remotely (using Remote Desktop) to the server using an account with having administrative privileges for this machine.
  2. Install Certbot utility.
  3. Download the latest version using the below link for Certbot https://dl.eff.org/certbot-beta-installer-win32.exe.
  4. This will install Certbot to a default directory, C:\Program Files(x86), that can be customized.)
  5. To start a shell for Certbot, locate Powershell and right-click on that, and open as “Run as administrator

Step 4.

In order to run Certbot with the standalone method, First Stop your webserver, then run the below command from a specified location to get a certificate. Certbot will temporarily spin up a webserver on your machine.

C:\Program Files (x86)\Certbot> certbot certonly -standalone

Important Note:

Your certificates for domains will be downloaded at this location C:\Certbot\live
Note: Exit from PowerShell now and start the IIS server again.

Step 5.

Install your certificate in IIS

Go to the above location you will find certificates are downloaded in .pem format but are symlinked to location i.e. C:\Certbot\archive\example.com
And in IIS support .pfx file format while importing.

Step 6.

So, now you have to club cert, key, and chain file to form a .pfx file using commands or using the below online tool.
https://www.sslshopper.com/ssl-converter.html

Save the PFX file generated and import it to the IIS server

It will be listed here now.

Step 7.

Now set the Imported certificate with domain.

Confirm that Certbot worked
To confirm that your site is set up properly, visit https://example.com/ in your browser and look for the lock icon in the URL bar. If you want to check that you have the top-of-the-line installation, you can head to https://www.ssllabs.com/ssltest/.

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Originally published at https://blog.webnersolutions.com on January 29, 2021.

--

--

Webner Solutions
Webner Solutions

Written by Webner Solutions

Our team in Salesforce is very strong, with in-depth knowledge of Salesforce classic and Lightning development as well as the Service cloud.

No responses yet