Skip to content

Instantly share code, notes, and snippets.

@virtualLast
Last active August 14, 2018 12:00
Show Gist options
  • Save virtualLast/d7956e5e4a94d06ddd133f15fc97a4dc to your computer and use it in GitHub Desktop.
Save virtualLast/d7956e5e4a94d06ddd133f15fc97a4dc to your computer and use it in GitHub Desktop.
Create a self signed openSSL certificate for macOS
cd /usr/local/etc/httpd
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment