Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:ssl [2023/03/10 06:32] – [Renew certs] darron | tools:ssl [2024/07/17 12:03] (current) – [Issue cert] darron | ||
---|---|---|---|
Line 27: | Line 27: | ||
a daily cron job. | a daily cron job. | ||
- | Disable the following cron job which will be replaced later by another | + | Disable the following cron job which will be replaced later by a different |
< | < | ||
Line 70: | Line 70: | ||
export LE_WORKING_DIR=" | export LE_WORKING_DIR=" | ||
- | $HOME/ | + | $HOME/ |
sudo mkdir -p / | sudo mkdir -p / | ||
Line 98: | Line 98: | ||
fi | fi | ||
- | sudo find / | + | sudo find / |
export LE_WORKING_DIR=" | export LE_WORKING_DIR=" | ||
Line 111: | Line 111: | ||
#sudo kill -HUP `ps auxw | egrep ' | #sudo kill -HUP `ps auxw | egrep ' | ||
#sudo kill -USR1 `ps auxw | egrep ' | #sudo kill -USR1 `ps auxw | egrep ' | ||
- | |||
sudo / | sudo / | ||
Line 141: | Line 140: | ||
$HOME/ | $HOME/ | ||
- | rm -Rf $HOME/ | + | rm -Rf $HOME/ |
sudo rm -Rf / | sudo rm -Rf / | ||
Line 165: | Line 164: | ||
< | < | ||
acme.sh --set-default-ca --server zerossl | acme.sh --set-default-ca --server zerossl | ||
+ | </ | ||
+ | |||
+ | ===Other=== | ||
+ | |||
+ | After issuing and later renewing certificates fullchain.pem and key.pem may be | ||
+ | copied and utilised by both exim and dovecot. Exim will | ||
+ | need read permission for the exim user. | ||
+ | |||
+ | For example, fullchain and key are copied into / | ||
+ | |||
+ | ==Exim4== | ||
+ | |||
+ | < | ||
+ | tls_certificate = / | ||
+ | tls_privatekey | ||
+ | </ | ||
+ | |||
+ | ==Dovecot== | ||
+ | |||
+ | < | ||
+ | ssl_cert = </ | ||
+ | ssl_key = </ | ||
</ | </ | ||