Skip to content

Instantly share code, notes, and snippets.

@RazZziel
Created October 29, 2015 07:33
Show Gist options
  • Save RazZziel/c64539c4952f52491a0c to your computer and use it in GitHub Desktop.
Save RazZziel/c64539c4952f52491a0c to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
# http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/
openssl genrsa -des3 -out ca.key 2048
openssl req -x509 -new -nodes -key ca.key -days 1024 -out ca.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment