mirror of
https://github.com/pikami/sysadmin.git
synced 2024-11-24 20:55:43 +00:00
Create renew-ssl.sh
This commit is contained in:
parent
43a39a916c
commit
bfb1fc9524
6
security/renew-ssl.sh
Normal file
6
security/renew-ssl.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
acme.sh --issue -d pikami.org -d mail.pikami.org --webroot /var/www/html/ --force
|
||||||
|
acme.sh --install-cert -d pikami.org \
|
||||||
|
--key-file /etc/ssl/private/domain.key \
|
||||||
|
--fullchain-file /etc/ssl/certs/chained.pem
|
||||||
|
cp /etc/ssl/certs/chained.pem /etc/postfix/chained.pem
|
||||||
|
cp /etc/ssl/private/domain.key /etc/postfix/domain.key
|
Loading…
Reference in New Issue
Block a user