Skip to content

Instantly share code, notes, and snippets.

View calebwashburn's full-sized avatar

Caleb Washburn calebwashburn

  • VMware
  • Phoenix, AZ
View GitHub Profile
@calebwashburn
calebwashburn / create_cert.sh
Created December 5, 2018 20:06 — forked from dwallraff/create_cert.sh
Commands to create a self-signed SSL cert or CSRs using the openssl conf from https://gist.github.com/dwallraff/c1ed31291ac7cf19304b
##### Commands to generate SSL certs/artifcts
# Download the temp.cnf file using the wget command below
# Edit temp.cnf and add your information
# Run the uncommented out commands to generate a self-signed cert (cert.pem) and private key (keyfile.pem)
wget https://gist.githubusercontent.com/dwallraff/c1ed31291ac7cf19304b/raw/e06feacbb85ac63659e6c1c40c70d5481522b390/temp.cnf
# Generate a new keyfile. A 2048 bit key size is TOTALLY fine. Jack it up to 4096 and wait if you must...
openssl genrsa -out keyfile.key 2048