Skip to content

Instantly share code, notes, and snippets.

@Kunsi
Created April 1, 2019 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kunsi/ba23e37e106e3bfbd8358f0e15278be2 to your computer and use it in GitHub Desktop.
Save Kunsi/ba23e37e106e3bfbd8358f0e15278be2 to your computer and use it in GitHub Desktop.
certdir="$ACME_STATE_DIR/live/kaito.kunbox.net"
cat "$certdir/privkey" > /home/kunsi/.weechat/ssl/relay.pem
cat "$certdir/fullchain" >> /home/kunsi/.weechat/ssl/relay.pem
chown kunsi:kunsi /home/kunsi/.weechat/ssl/relay.pem
chmod 440 /home/kunsi/.weechat/ssl/relay.pem
echo 'core.weechat */relay sslcertkey' >> /home/kunsi/.weechat/weechat_fifo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment