Skip to content

Instantly share code, notes, and snippets.

@panarom
panarom / certSign.js
Last active August 1, 2017 21:52
node server for signing spkac keygen requests with CA for generating client x509 TLS certificates
const http = require('http');
const execFile = require('child_process').execFileSync;
const qs = require('querystring');
const SPKAC = `SPKAC=
CN=Firstname Lastname
emailAddress=first.last@example.com
OU=orgUnit
organizationName=Organization
countryName=US

Keybase proof

I hereby claim:

  • I am panarom on github.
  • I am mattpanaro (https://keybase.io/mattpanaro) on keybase.
  • I have a public key ASAPtzK7_Khkbu-p9q8ovOBtximSuQvGSIGLaLz1Wb_lkAo

To claim this, I am signing this object: