Editing
Install or renew an SSL certificate on Windows/IIS (Certbot)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
* Download https://dl.eff.org/certbot-beta-installer-win32.exe * Install the file * 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 * Open Command prompt as admin * cd C:\Program Files (x86)\Certbot\bin * Run certbot certonly –standalone * If you are renewing and not adding new urls (or creating the whole certificate anew) run certbot renew * Follow the guidelines/prompts * 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 * 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) ** “C:\Program Files\Git\usr\bin\openssl.exe” pkcs12 -export -out *.pfx -inkey *.key -in *.crt * Start the World Wide Web Publishing Service * Open IIS manager * Find Server Certificates * Import the pfx * Go to Default web site/Bindings * Find the https(443) binding and edit * Change the certificate to the one you’ve imported
Summary:
Please note that all contributions to Apoyar Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Apoyar Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Apoyar Infrastructure
Active Directory
Recent changes
Random page
Upload file
Tools
What links here
Related changes
Special pages
Page information