#!/bin/echo This is intended to be run from within scripts as this as . export CA="omgca" # The short Certificate Authority name export EXPIRE="3650" # Number of days until expiration for all certificates export C="US" # Two-letter country code export ST="Oregon" # State or province export L="Portland" # Locality export O="Rayhawk Foundation For World Domination" # Organization export OU="Ministry of Propaganda" # Organizational Unit export CN="Joe Rayhawk" # Common Name export E="jrayhawk+ssl@omgwallhack.org" # Email; used in certs and for From: and CC: in ./mailcert.sh usage export OPENSSL_CONFIG="openssl.cnf" # For advanced customization (not suggested) export EMAIL_DEFAULT_DOMAIN="omgwallhack.org" # ./mailcert.sh uses this as a user's domain if nothing more obvious is available if [ $SUPPLEMENTARY_CONFIG ]; then if [ -e ./"$SUPPLEMENTARY_CONFIG" ]; then . ./"$SUPPLEMENTARY_CONFIG" # dash is finnicky about how paths for sourcing work elif [ -e /"$SUPPLEMENTARY_CONFIG" ]; then . /"$SUPPLEMENTARY_CONFIG" else echo "$SUPPLEMENTARY_CONFIG" does not exist exit 1 fi fi if [ -e ./local.cfg ]; then . ./local.cfg # dash is finnicky about how paths for sourcing work fi