Skip to content

Instantly share code, notes, and snippets.

View DemonGiggle's full-sized avatar
🐵
Je pense donc je suis

gigo DemonGiggle

🐵
Je pense donc je suis
View GitHub Profile
@DemonGiggle
DemonGiggle / gist:c82ca110a602de04c070f296977a004d
Created March 30, 2016 17:22 — forked from mtigas/gist:952344
Mini tutorial for configuring client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.

Using self-signed certificate.

Create a Certificate Authority root (which represents this server)

Organization & Common Name: Some human identifier for this server CA.

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt