Skip to content

Instantly share code, notes, and snippets.

@mhat
Created September 25, 2010 05:21
Show Gist options
  • Save mhat/596510 to your computer and use it in GitHub Desktop.
Save mhat/596510 to your computer and use it in GitHub Desktop.
cd /usr/local/etc/nginx
mkdir ssl
cd ssl
openssl genrsa -out server.key 1024
openssl req -new -key server.key -out server.csr
US
California
SF
Yammer
Engineering
*.yambot.local
you@yammer-inc.com
no password, hit enter twice
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