Skip to content

Instantly share code, notes, and snippets.

@aniljava
Last active December 24, 2018 03:15
Show Gist options
  • Save aniljava/f7d54d3a223600cadf1eb193d5ac6974 to your computer and use it in GitHub Desktop.
Save aniljava/f7d54d3a223600cadf1eb193d5ac6974 to your computer and use it in GitHub Desktop.
ssl-renew.sh
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