Skip to content

Instantly share code, notes, and snippets.

View fxrcode's full-sized avatar

fxrc fxrcode

  • Gopher
  • The net is vast and infinite
View GitHub Profile
@fxrcode
fxrcode / genca.sh
Last active May 24, 2019 23:36 — forked from wsargent/genca.sh
Generate a certificate authority and trust anchor keystore, using only keytool
#!/bin/bash
export PW=`cat password`
# Create a self signed key pair root CA certificate.
keytool -genkeypair -v \
-alias rootca \
-dname "CN=rootca, OU=Example Org, O=Example Company, L=San Francisco, ST=California, C=US" \
-keystore rootca.jks \
-keypass:env PW \
@fxrcode
fxrcode / 0_reuse_code.js
Created March 17, 2017 19:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console