A simple bash script to generate a CA and a wildcard server certificate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Joshua Westerheide 4ea0ddbd4a
Rename server certificate suffix to .crt
3 years ago
files Template openssl config to dynamically add SANs 3 years ago
.gitignore Add build directory to gitignore 3 years ago
README.md Add usage section to readme 3 years ago
clean.sh Add clean script 3 years ago
gen.sh Rename server certificate suffix to .crt 3 years ago

README.md

PKI Generator for Wildcard Certificates

Bash scripts for generating a PKI including a CA and leaf certificate.

The leaf certificate will be a wildcard certificate.

Usage

Simply run ./gen.sh <general name> <domain> in this folder, where

  • <general name> is just a name for the CA prepended before "Development CA"
  • <domain> is your base domain (e.g. dev.local, the wildcard will be prepended!)