Skip to content

Instantly share code, notes, and snippets.

@flotwig
Created May 8, 2014 20:37
Show Gist options
  • Save flotwig/93d0939e53427039f1b2 to your computer and use it in GitHub Desktop.
Save flotwig/93d0939e53427039f1b2 to your computer and use it in GitHub Desktop.
Make a .pem for ZNC
# because i keep forgetting
rm znc.pem
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3650 -nodes
cat key.pem > znc.pem
cat cert.pem >> znc.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment