Last active
December 24, 2018 03:15
-
-
Save aniljava/f7d54d3a223600cadf1eb193d5ac6974 to your computer and use it in GitHub Desktop.
ssl-renew.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
killall python3 | |
wget 'https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh' -O acme.sh | |
chmod +x acme.sh | |
./acme.sh --issue -d $DOMAIN --standalone -d www.$DOMAIN --home ./ | |
cp $DOMAIN/$DOMAIN.cer ./crt.crt | |
cp $DOMAIN/$DOMAIN.key ./key.key | |
cp $DOMAIN/fullchain.cer ./chain.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment