Install or renew an SSL certificate on Windows/IIS (Certbot): Difference between revisions

no edit summary
(Created page with "* Download https://dl.eff.org/certbot-beta-installer-win32.exe * Install the file * Make sure IIS has all required sited (the ones requiring SSL) set up and with proper ssl ho...")
 
No edit summary
Line 1: Line 1:
* Download https://dl.eff.org/certbot-beta-installer-win32.exe
* Download https://dl.eff.org/certbot-beta-installer-win32.exe
* Install the file
* Install the file
* Make sure IIS has all required sited (the ones requiring SSL) set up and with proper ssl host headers (using appcmd)
* Make sure IIS has all required sites (the ones requiring SSL) set up and with proper ssl host headers (using appcmd)
* Make note of all required urls and place them into a text file, separated by spaces
* Stop the World Wide Web Publishing Service
* Stop the World Wide Web Publishing Service
* Open Command prompt as admin
* Open Command prompt as admin
* cd C:\Program Files (x86)\Certbot\bin
* cd C:\Program Files (x86)\Certbot\bin
* run certbot certonly –standalone
* Run certbot certonly –standalone
* follow the guidelines/prompts
* Follow the guidelines/prompts
* find the saved cert and private key (usually in C:\Certbot\archive)
* When asked to enter the domain names, copy and paste the text file content from above
* Find the saved cert and private key (usually in C:\Certbot\archive)
* cd to the above folder
* cd to the above folder
* Make sure you have openssl installed. On Windows it comes with Git.
* Make sure you have openssl installed. On Windows it comes with Git.
* use openssl to convert it to *.pfx (including the quotes; replace the below path with the actual one you found above)
* Use openssl to convert it to *.pfx (including the quotes; replace the below path with the actual one you found above)
** “C:\Program Files\Git\usr\bin\openssl” pkcs12 -export -out *.pfx -inkey *.key -in *.crt
** “C:\Program Files\Git\usr\bin\openssl” pkcs12 -export -out *.pfx -inkey *.key -in *.crt
* start the World Wide Web Publishing Service
* Start the World Wide Web Publishing Service
* Open IIS manager
* Open IIS manager
* Find Server Certificates
* Find Server Certificates