Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stigtsp/0e1b896442ce61432fbe2e91bb1f6ef7 to your computer and use it in GitHub Desktop.
Save stigtsp/0e1b896442ce61432fbe2e91bb1f6ef7 to your computer and use it in GitHub Desktop.
openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/CN=192.168.1.1" -addext "subjectAltName = IP:192.168.1.1" -keyout 192.168.1.1.key -out 192.168.1.1.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment