Skip to content

Instantly share code, notes, and snippets.

@gregorynicholas
Forked from anonymous/gen_self_signed.sh
Created December 16, 2012 01:18
Show Gist options
  • Save gregorynicholas/4301887 to your computer and use it in GitHub Desktop.
Save gregorynicholas/4301887 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
openssl genrsa -out key.pem 2048
openssl req -new -config request.cnf -x509 -key key.pem -out cert.pem -days 1095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment