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:26] 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 |
- | Replace << | + | - HTTP |
- | Replace << | + | - DNS |
+ | For more details refer to [[https:// | ||
+ | </ | ||
+ | < | ||
+ | < | ||
</ | </ | ||
certbot certonly --manual --preferred-challenges dns --email "<< | certbot certonly --manual --preferred-challenges dns --email "<< | ||
</ | </ | ||
- | - Type **Y** at the following prompt:<WRAP center round info 100%> | + | - Type //Y// and press //[ENTER]// key at the following prompt:<code>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
- | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br> | + | Would you be willing, once your first certificate is successfully issued, to |
- | Would you be willing, once your first certificate is successfully issued, to<br> | + | share your email address with the Electronic Frontier Foundation, a founding |
- | share your email address with the Electronic Frontier Foundation, a founding<br> | + | partner of the Let's Encrypt project and the non-profit organization that |
- | partner of the Let's Encrypt project and the non-profit organization that<br> | + | develops Certbot? We'd like to send you email about our work encrypting the web, |
- | develops Certbot? We'd like to send you email about our work encrypting the web,<br> | + | EFF news, campaigns, and ways to support digital freedom. |
- | EFF news, campaigns, and ways to support digital freedom.<br> | + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
- | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br> | + | (Y)es/(N)o: </code>You will see following output:< |
- | (Y)es/ | + | |
- | </WRAP>< | + | |
Performing the following challenges: | Performing the following challenges: | ||
dns-01 challenge for << | dns-01 challenge for << | ||
Line 28: | Line 30: | ||
your server, please ensure you're okay with that. | your server, please ensure you're okay with that. | ||
</ | </ | ||
- | - Type **Y** at the following prompt:<WRAP center round info 100%> | + | - Type //Y// and press //[ENTER]// key at the following prompt:<code> |
Are you OK with your IP being logged? | Are you OK with your IP being logged? | ||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
(Y)es/ | (Y)es/ | ||
- | </WRAP>< | + | </code>You will see the following output:< |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
Please deploy a DNS TXT record under the name | Please deploy a DNS TXT record under the name | ||
Line 43: | Line 45: | ||
Press Enter to Continue | Press Enter to Continue | ||
</ | </ | ||
- | - Download | + | - Download |
- | [[https:// | + | < |
- | [[https:// | + | < |
</ | </ | ||
- | - 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:// | ||
+ | </ | ||
Replace << | Replace << | ||
</ | </ | ||
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:// | ||