From bfb1fc9524e9132aa6af9616c19b8f60f6f33c6e Mon Sep 17 00:00:00 2001 From: Pijus Kamandulis Date: Fri, 26 Jul 2019 23:25:22 +0300 Subject: [PATCH] Create renew-ssl.sh --- security/renew-ssl.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 security/renew-ssl.sh diff --git a/security/renew-ssl.sh b/security/renew-ssl.sh new file mode 100644 index 0000000..6a91cab --- /dev/null +++ b/security/renew-ssl.sh @@ -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