Skip to content

Instantly share code, notes, and snippets.

@bgunebakan
Created May 19, 2016 14:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save bgunebakan/b2e379133ec783191c43a777deaf052b to your computer and use it in GitHub Desktop.
Save bgunebakan/b2e379133ec783191c43a777deaf052b to your computer and use it in GitHub Desktop.
Generate certificate and key for umurmur
# based on http://www.akadia.com/services/ssh_test_certificate.html
##
sudo mkdir /etc/umurmur
cd /etc/umurmur
sudo openssl genrsa -des3 -out server.key 1024
sudo openssl req -new -key server.key -out server.csr
sudo cp server.key server.key.org
sudo openssl rsa -in server.key.org -out server.key
sudo openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment