Skip to content

Instantly share code, notes, and snippets.

View benwarfield-usds's full-sized avatar
🇺🇸

Ben Warfield benwarfield-usds

🇺🇸
  • Prime SimpleReport Team
View GitHub Profile
@benwarfield-usds
benwarfield-usds / Makefile
Created May 17, 2021 16:29
Single-file Certificate Authority for local testing
# All the rules we need to create local Certificate Authority, Server, and Client certificates
KEY_SIZE=4096
BASE_DN?=/C=US/ST=DC/L=Washington/O=Fake\ CA
CA_NAME?=Fake\ Certificate\ Authority
# this is traditional:
KEYSTORE_PASSWORD?=changeit
TRUSTSTORE_PASSWORD?=yololol
CLIENT_PASSWORD?=justdoit
@benwarfield-usds
benwarfield-usds / keybase.md
Created December 21, 2020 16:32
Keybase identity proof

Keybase proof

I hereby claim:

  • I am benwarfield-usds on github.
  • I am benwarfieldcdc (https://keybase.io/benwarfieldcdc) on keybase.
  • I have a public key ASAiSLQyiP1z3ZrgwyNyeDh_XxRWZ9B4y8iT7HSBthuKLQo

To claim this, I am signing this object:

@benwarfield-usds
benwarfield-usds / docker-compose.yml
Last active September 10, 2020 17:49
A docker-compose configuration for running Sonarqube locally
version: "3.2"
services:
sonar-db:
image: "postgres"
volumes:
# Create/use a named volume so that the database is not wiped if we recreate the container
- type: volume
source: sonarqube-db-data
target: /var/lib/postgresql/data
# This only works on MacOS Docker, but I can live with that for now