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/05/16 21:39] – external edit 127.0.0.1 | servers:linux:nginx:lets_encrypt [2025/09/11 18:25] (current) – [Settings] 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: | ||
< | < | ||
- | # letsencrypt/ | ||
- | |||
verbose = true | verbose = true | ||
text = true | text = true | ||
Line 30: | Line 28: | ||
agree-tos = true | agree-tos = true | ||
- | ########## | + | ###################### |
- | #CHANGEME# | + | |
- | ########## | + | |
email = espionage724@x | email = espionage724@x | ||
- | + | ############ | |
- | ########## | + | |
- | #CHANGEME# | + | |
- | ########## | + | |
no-eff-email = true | no-eff-email = true | ||
Line 46: | Line 38: | ||
hsts = true | hsts = true | ||
uir = true | uir = true | ||
- | staple-ocsp = true | + | staple-ocsp = false |
pre-hook = systemctl stop ' | pre-hook = systemctl stop ' | ||
post-hook = systemctl start ' | post-hook = systemctl start ' | ||
- | domains = realmofespionage.xyz, | + | domains = realmofespionage.xyz, |
# End</ | # End</ | ||
Line 57: | Line 49: | ||
====== Obtain Certs ====== | ====== Obtain Certs ====== | ||
- | * :!: 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 |
sudo ' | sudo ' | ||
+ | |||
+ | sudo systemctl stop ' | ||
====== Automatic Cert Renewal ====== | ====== Automatic Cert Renewal ====== | ||
Line 68: | Line 62: | ||
< | < | ||
- | # certbot-renew-custom.service | ||
- | |||
[Service] | [Service] | ||
Type=oneshot | Type=oneshot | ||
+ | |||
ExecStart='/ | ExecStart='/ | ||
+ | |||
ExecStartPost='/ | ExecStartPost='/ | ||
Line 78: | Line 72: | ||
===== Timer ===== | ===== Timer ===== | ||
+ | |||
+ | * Weekly | ||
sudo -e '/ | sudo -e '/ | ||
< | < | ||
- | # certbot-renew-custom.timer | ||
- | |||
[Unit] | [Unit] | ||
Description=Let' | Description=Let' | ||
Line 97: | Line 91: | ||
# End</ | # End</ | ||
+ | |||
+ | sudo systemctl start ' | ||
/srv/www/wiki/data/attic/servers/linux/nginx/lets_encrypt.1747445948.txt.gz · Last modified: by 127.0.0.1