User Tools

Site Tools


sysadmin:windows:windows_iis_install_configure_certbot

This is an old revision of the document!


Install & CertBot on Windows with IIS

CertBot - Windows Other

  1. Open MS-DOS command prompt in _Administrator_ mode, run following commands:

    Replace «Email Address» Replace «Domain Name»

    certbot certonly --manual --preferred-challenges dns --email "<<Email Address>>" --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d <<Domain Name>>
  2. Type Y at the following prompt:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Would you be willing, once your first certificate is successfully issued, to share your email address with the Electronic Frontier Foundation, a founding partner of the Let's Encrypt project and the non-profit organization that develops Certbot? We'd like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o:

    Obtaining a new certificate
    Performing the following challenges:
    dns-01 challenge for <<Domain Name>>
    
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NOTE: The IP of this machine will be publicly logged as having requested this
    certificate. If you're running certbot in manual mode on a machine that is not
    your server, please ensure you're okay with that.
  3. Type Y at the following prompt:

    Are you OK with your IP being logged? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Please deploy a DNS TXT record under the name
    _acme-challenge.<<Domain Name>> with the following value:
    
    <<DNS TXT Record>>
    
    Before continuing, verify the record is deployed.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Press Enter to Continue
  4. Select option to copy OpenSSL libraries to OpenSSL /bin folder
  5. Launch MS-DOS command prompt and run following commands:
    cd /d "C:\Program Files\OpenSSL-Win64\bin"
    openssl pkcs12 -export -out "C:\Certbot\archive\<<Domain Name>>\<<Domain Name>>.pfx" -inkey "C:\Certbot\archive\<<Domain Name>>\privkey1.pem" -in "C:\Certbot\archive\<<Domain Name>>\cert1.pem" -certfile "C:\Certbot\archive\<<Domain Name>>\chain1.pem" -password pass:<<password>>
sysadmin/windows/windows_iis_install_configure_certbot.1614637448.txt.gz · Last modified: 2021/03/01 22:24 by vidyasb