User Tools

Site Tools


windows:servers:nginx:lets_encrypt

This is an old revision of the document!


Information

Prerequisites

Install

Python

  • Install pip and add to PATH

Certbot

pip install "certbot"

Update

pip install --upgrade "certbot"

Settings

  • :!: Be sure to change the email address
  • :!: Any new domains added need to be added to Namecheap as well
  • must-staple = true is disabled due to being incompatible with Firefox 4)
MKDIR "C:\Certbot\"
notepad++ "C:\Certbot\cli-custom.ini"
verbose = true
text = true
non-interactive = true
standalone = true
force-renewal = true
agree-tos = true

##########
#CHANGEME#
##########

email = espionage724@x

##########
#CHANGEME#
##########

no-eff-email = true

rsa-key-size = 4096
redirect = true
hsts = true
uir = true
staple-ocsp = true

domains = realmofespionage.xyz, blog.realmofespionage.xyz, files.realmofespionage.xyz, media.realmofespionage.xyz, social.realmofespionage.xyz, test.realmofespionage.xyz, wiki.realmofespionage.xyz, wow.realmofespionage.xyz

# End

Obtain Certs

  • :!: If it passes the dry run, remove the dry-run argument and re-run
certbot "certonly" --config "C:\Certbot\cli-custom.ini" --dry-run
3)
Certbot doesn't necessarily require nginx; if not using nginx, then port 443/tcp is likely needed to be opened
4)
last tested 2019/06/28 with Firefox 67.0.4; it didn't work; likely a config error on my part since this hasn't worked at all since 2018
/var/www/wiki/data/attic/windows/servers/nginx/lets_encrypt.1719015167.txt.gz ยท Last modified: 2024/06/21 20:12 (external edit)