#!/bin/bash
#
# YACHT (Yet Another CA How To) Placed in public domain. RLamb 2019
#
if [ $# -lt 1 ]; then
  echo "Usage $0 email"
  exit 0
fi
export SAN=""
openssl req -config req.cnf -new -newkey rsa:2048 -nodes -keyout new.key -out new.csr -subj "/emailAddress=$1"
#
