User Tools

Site Tools


servers:windows:nginx:lets_encrypt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:nginx:lets_encrypt [2025/05/26 04:57] – [Settings] Sean Rhoneservers:windows:nginx:lets_encrypt [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows;10|Windows 10 (21H2)]]+  * [[windows:10|Windows 10 (21H2)]]
   * [[servers;windows;nginx_php_php-cgi|nginx]]   * [[servers;windows;nginx_php_php-cgi|nginx]]
  
Line 15: Line 15:
  
   * https://www.python.org/downloads/windows/   * https://www.python.org/downloads/windows/
-  * Last tested: ''python-3.13.3-amd64.exe''+  * Last tested: ''python-3.13.7-amd64.exe''
  
   * Install ''pip''   * Install ''pip''
Line 35: Line 35:
   MKDIR "%SystemDrive%\www\certbot"   MKDIR "%SystemDrive%\www\certbot"
  
-  notepad "%SystemDrive%\www\certbot\cli-custom.ini"+  "notepad.exe" "%SystemDrive%\www\certbot\cli-custom.ini"
  
 <code> <code>
Line 102: Line 102:
  
 ==== Test Renewal ==== ==== Test Renewal ====
 +
 +  * 2025/08/05: Works fine
  
   "notepad.exe" "%SystemDrive%\www\scripts\certbot\Renewal-test.bat"   "notepad.exe" "%SystemDrive%\www\scripts\certbot\Renewal-test.bat"
Line 111: Line 113:
 :: Renew Certs :: Renew Certs
 "netsh.exe" advfirewall firewall add rule name="Certbot (Standalone)" dir="in" action="allow" program="%LocalAppData%\Programs\Python\Python313\python.exe" protocol="tcp" localport="80" "netsh.exe" advfirewall firewall add rule name="Certbot (Standalone)" dir="in" action="allow" program="%LocalAppData%\Programs\Python\Python313\python.exe" protocol="tcp" localport="80"
-"%LocalAppData%\Programs\Python\Python313\Scripts\certbot.exe" "certonly" --config "%SystemDrive%\www\certbot\cli-custom.ini" --quiet --dry-run+"%LocalAppData%\Programs\Python\Python313\Scripts\certbot.exe" "certonly" --config "%SystemDrive%\www\certbot\cli-custom.ini" --quiet
 "netsh.exe" advfirewall firewall delete rule name="Certbot (Standalone)" "netsh.exe" advfirewall firewall delete rule name="Certbot (Standalone)"
  
/srv/www/wiki/data/attic/servers/windows/nginx/lets_encrypt.1748249847.txt.gz · Last modified: by Sean Rhone