servers:linux:nginx:lets_encrypt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servers:linux:nginx:lets_encrypt [2025/07/16 13:47] – [Service] Sean Rhone | servers:linux:nginx:lets_encrypt [2026/04/17 22:07] (current) – [Settings] openSUSE TW -> Ubuntu (WIP) Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Information ====== | ====== Information ====== | ||
| - | * Let's Encrypt | + | * Let's Encrypt |
| - | * Certbot | + | * Certbot |
| - | * [[Information:Realm of Espionage]] | + | * [[information:realm_of_espionage|Realm of Espionage]] |
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| * [[linux: | * [[linux: | ||
| - | * [[servers;linux;nginx_php_php-fpm|nginx]] | + | * [[servers:linux:nginx_php_php-fpm|nginx]] |
| ====== Dependencies ====== | ====== Dependencies ====== | ||
| Line 21: | Line 21: | ||
| < | < | ||
| - | verbose = true | + | verbose = 'true' |
| - | text = true | + | max-log-backups = ' |
| - | non-interactive = true | + | text = 'true' |
| - | standalone = true | + | non-interactive = 'true' |
| - | force-renewal = true | + | standalone = 'true' |
| - | agree-tos = true | + | force-renewal = 'true' |
| - | + | agree-tos = 'true' | |
| - | ########## | + | |
| - | # | + | |
| - | ########## | + | |
| + | ######################################## | ||
| email = espionage724@x | email = espionage724@x | ||
| + | ######################################## | ||
| - | ########## | + | no-eff-email = ' |
| - | # | + | |
| - | ########## | + | |
| - | no-eff-email = true | + | rsa-key-size = ' |
| + | redirect = 'true' | ||
| + | hsts = ' | ||
| + | uir = ' | ||
| + | staple-ocsp = ' | ||
| + | key-type = ' | ||
| + | elliptic-curve = ' | ||
| - | rsa-key-size = 4096 | + | pre-hook = systemctl stop ' |
| - | redirect = true | + | post-hook = systemctl start ' |
| - | hsts = true | + | |
| - | uir = true | + | |
| - | staple-ocsp = false | + | |
| - | domains = realmofespionage.xyz, | + | domains = ' |
| # End</ | # End</ | ||
| Line 55: | Line 55: | ||
| sudo ' | sudo ' | ||
| + | |||
| + | sudo systemctl stop ' | ||
| ====== Automatic Cert Renewal ====== | ====== Automatic Cert Renewal ====== | ||
| Line 65: | Line 67: | ||
| [Service] | [Service] | ||
| Type=oneshot | Type=oneshot | ||
| + | |||
| + | WorkingDirectory=/ | ||
| + | |||
| ExecStart='/ | ExecStart='/ | ||
| + | |||
| ExecStartPost='/ | ExecStartPost='/ | ||
| Line 71: | Line 77: | ||
| ===== Timer ===== | ===== Timer ===== | ||
| + | |||
| + | * Weekly (Sunday) '' | ||
| sudo -e '/ | sudo -e '/ | ||
| Line 81: | Line 89: | ||
| [Timer] | [Timer] | ||
| - | OnCalendar=weekly | + | OnCalendar=Sun *-*-* 07:00:00 |
| Persistent=true | Persistent=true | ||
| Line 88: | Line 96: | ||
| # End</ | # End</ | ||
| + | |||
| + | sudo systemctl start ' | ||
/var/www/wiki/data/attic/servers/linux/nginx/lets_encrypt.1752688041.txt.gz · Last modified: by Sean Rhone
