| Both sides previous revisionPrevious revision | |
| servers:windows:nginx:lets_encrypt [2026/11/03 00:01] – Sean Rhone | servers:windows:nginx:lets_encrypt [2026/11/03 04:31] (current) – old revision restored (2026/05/13 10:44) Sean Rhone |
|---|
| |
| * https://www.python.org/downloads/windows/ | * https://www.python.org/downloads/windows/ |
| * Last tested: ''python-3.14.10-arm64.exe'' | * Last tested: ''python-3.14.5-amd64.exe'' ((2026/03/11: ''python-3.15.0a7-amd64.exe'' needed a Visual Studio build package for ''cffi'', which [[https://github.com/python-cffi/cffi/issues/23#issuecomment-1845861410|doesn't seem available pre-release]]; installing pre-selected VC build tools didn't work/likely needs more components)) |
| |
| * Install ''pip'' ((nothing else (admin, PATH, etc) is required and can be unchecked)) | * Install ''pip'' ((nothing else (admin, PATH, etc) is required and can be unchecked)) |
| ===== Certbot ===== | ===== Certbot ===== |
| |
| "%LocalAppData%\Programs\Python\Python314-arm64\Scripts\pip.exe" install "certbot" | **** |
| | |
| | "%LocalAppData%\Programs\Python\Python314\Scripts\pip.exe" install "certbot" |
| |
| ====== Settings ====== | ====== Settings ====== |
| elliptic-curve = "secp384r1" | elliptic-curve = "secp384r1" |
| |
| domains = "wiki.realmofespionage.xyz" | domains = "realmofespionage.xyz, wiki.realmofespionage.xyz, media.realmofespionage.xyz, blog.realmofespionage.xyz, social.realmofespionage.xyz, forums.realmofespionage.xyz, status.realmofespionage.xyz, files.realmofespionage.xyz, test.realmofespionage.xyz" |
| |
| # End</code> | # End</code> |
| * :!: If it passes the dry run, remove the ''--dry-run'' argument and re-run | * :!: If it passes the dry run, remove the ''--dry-run'' argument and re-run |
| |
| "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Certbot (Standalone)" dir="in" action="allow" program="%LocalAppData%\Programs\Python\Python314-arm64\python.exe" protocol="tcp" localport="80" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Certbot (Standalone)" dir="in" action="allow" program="%LocalAppData%\Programs\Python\Python314\python.exe" protocol="tcp" localport="80" |
| |
| "%LocalAppData%\Programs\Python\Python314-arm64\Scripts\certbot.exe" "certonly" --config "%SystemDrive%\www\certbot\cli-custom.ini" --dry-run | "%LocalAppData%\Programs\Python\Python314\Scripts\certbot.exe" "certonly" --config "%SystemDrive%\www\certbot\cli-custom.ini" --dry-run |
| |
| "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Certbot (Standalone)" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Certbot (Standalone)" |
| TITLE Certbot Renewal | TITLE Certbot Renewal |
| |
| "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Certbot (Standalone)" dir="in" action="allow" program="%LocalAppData%\Programs\Python\Python314-arm64\python.exe" protocol="tcp" localport="80" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Certbot (Standalone)" dir="in" action="allow" program="%LocalAppData%\Programs\Python\Python314\python.exe" protocol="tcp" localport="80" |
| "%LocalAppData%\Programs\Python\Python314-arm64\Scripts\certbot.exe" "certonly" --config "%SystemDrive%\www\certbot\cli-custom.ini" --quiet | "%LocalAppData%\Programs\Python\Python314\Scripts\certbot.exe" "certonly" --config "%SystemDrive%\www\certbot\cli-custom.ini" --quiet |
| "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Certbot (Standalone)" | "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Certbot (Standalone)" |
| |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%LocalAppData%\Programs\Python\Python314-arm64\python.exe" -m "pip" install --upgrade "pip" --quiet | "%LocalAppData%\Programs\Python\Python314\python.exe" -m "pip" install --upgrade "pip" --quiet |
| |
| "%LocalAppData%\Programs\Python\Python314-arm64\Scripts\pip.exe" install --upgrade "certbot" --quiet | "%LocalAppData%\Programs\Python\Python314\Scripts\pip.exe" install --upgrade "certbot" --quiet |
| |
| :: End</code> | :: End</code> |