Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generate SSL Certificate and Key on macOS
openssl genrsa -out example.com.key 2048
openssl req -new -x509 -key example.com.key -out example.com.cert -days 3650 -subj /CN=example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment