Skip to content

Instantly share code, notes, and snippets.

@jrob00
Created March 25, 2011 22:15
Show Gist options
  • Save jrob00/887748 to your computer and use it in GitHub Desktop.
Save jrob00/887748 to your computer and use it in GitHub Desktop.
Generating an Apache Self-Signed Cert
openssl req -x509 -newkey rsa:1024 -keyout server.key -out server.crt -days 9999 -nodes
chown root:root server.key
chmod 400 server.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment