This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sysadmin:windows:windows_iis_install_configure_certbot [2021/03/02 14:40] vidyasb |
sysadmin:windows:windows_iis_install_configure_certbot [2021/03/02 15:08] (current) vidyasb |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Install & CertBot on Windows with IIS ====== | + | ====== Install & Configure |
[[https:// | [[https:// | ||
- | - Install [[https:// | + | - Download & Install [[https:// |
- | - Open MS-DOS command prompt in **Administrator** mode, run following commands:< | + | - Open MS-DOS command prompt in //Administrator// mode, run the following commands |
+ | - HTTP | ||
+ | - DNS | ||
+ | For more details refer to [[https:// | ||
+ | </ | ||
< | < | ||
< | < | ||
Line 10: | Line 14: | ||
certbot certonly --manual --preferred-challenges dns --email "<< | certbot certonly --manual --preferred-challenges dns --email "<< | ||
</ | </ | ||
- | - Type **Y** and press **[ENTER]** key at the following prompt:< | + | - Type //Y// and press //[ENTER]// key at the following prompt:< |
Would you be willing, once your first certificate is successfully issued, to | Would you be willing, once your first certificate is successfully issued, to | ||
share your email address with the Electronic Frontier Foundation, a founding | share your email address with the Electronic Frontier Foundation, a founding | ||
Line 26: | Line 30: | ||
your server, please ensure you're okay with that. | your server, please ensure you're okay with that. | ||
</ | </ | ||
- | - Type **Y** and press **[ENTER]** key at the following prompt:< | + | - Type //Y// and press //[ENTER]// key at the following prompt:< |
Are you OK with your IP being logged? | Are you OK with your IP being logged? | ||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
Line 41: | Line 45: | ||
Press Enter to Continue | Press Enter to Continue | ||
</ | </ | ||
- | - Download | + | - Download |
< | < | ||
< | < | ||
</ | </ | ||
- | - Select option to copy OpenSSL libraries to OpenSSL | + | - Select option to copy OpenSSL libraries to OpenSSL |
- | - Launch | + | - In the MS-DOS command prompt window in Step 2 or a new MS-DOS command prompt |
[[https:// | [[https:// | ||
</ | </ | ||
Line 53: | Line 57: | ||
openssl pkcs12 -export -out " | openssl pkcs12 -export -out " | ||
</ | </ | ||
+ | - Launch //Internet Information Services (IIS) Manager// from //Control Panel// → // | ||
+ | - Click on Server tree node underneath //Start Page// in the left-side navigation panel | ||
+ | - Click on //Server Certificates// | ||
+ | - Click on // | ||
+ | - Using //...// button next to // | ||
+ | - Enter the password entered in Step 2 in // | ||
+ | - Click //OK// to Import the certificate< | ||
+ | - Expand //> Sites// underneath the Server tree node in left-side navigation panel | ||
+ | - Click on the Site that has HTTPS binding to which the certificate needs to be assigned-to | ||
+ | - Click on // | ||
+ | - Select the HTTPS Binding and Click on //Edit...// or create a new binding (if not present) | ||
+ | - In the //SSL certificate:// | ||