mirror of https://github.com/pikami/sysadmin.git
Create renew-ssl.sh
This commit is contained in:
parent
43a39a916c
commit
bfb1fc9524
|
@ -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