Skip to content

Instantly share code, notes, and snippets.

@knikolla
Created March 23, 2018 18:37
Show Gist options
  • Save knikolla/45b58f452d8fcb61924877d784f53a13 to your computer and use it in GitHub Desktop.
Save knikolla/45b58f452d8fcb61924877d784f53a13 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
openssl genrsa -out my.key 2048
openssl req -new -x509 -days 1826 \
-key my.key -out my.crt \
-subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment