Skip to content

Instantly share code, notes, and snippets.

Smiley Face

@z81
z81 / CertificateGeneration.sh
Created March 18, 2017 15:43 — forked from sandfox/CertificateGeneration.sh
TLS certificate inspection example (using nodejs)
###
#Step 1 - Generate server certificates etc... (most of this code is horribly ripped off from nodejs docs currently -> http://nodejs.org/docs/latest/api/tls.html)
###
#Assuming your starting from a clean directory
mkdir server
cd server
#generate private key

hex