2333c7fe2dafe659de0cbcb8e8b13bc3ad2ea01f
SSL Create script
Create new SSL certificates for signing
Options
Usage: bin/create_ssl.sh -f <input file> [-o <optional output folder>] [-s] [-v [-v] ...]
-f: mandatory input file. CSV format with | separations
Format:
Country|State|Location|Organization|Organizational Unit|domain name|password
-s: switch output path from <date>/<domain> to <domain>/<date>
-o: optional output folder. If not given, then output will be written to current folder
-v: verbose output (CSR/KEY) as echo to terminal
Template file layout
The base file (CSV) for creating new certicates has the following format.
The separator is the | and not ;
Country|State|Location|Organization|Organizational Unit|domain name|password|confirm email
Sample
jp|Toyko|Minato-ku|Foo Bar|IT Department|foobar.org|1234567|hostmaster@foobar.org
bin/create_ssl.sh -f path/to/file.csv -o output/path
This will creaet a new folder with
YYYYMMDD/foobar.org/ and in ther are the SSL data stored
If the -s flag is used the folder is reveres foobar.org/YYYYMMDD/
Description
Languages
Shell
100%