Initial checking
This commit is contained in:
42
ReadMe.md
Normal file
42
ReadMe.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# SSL Create script
|
||||
|
||||
Create new SSL certificates for signing
|
||||
|
||||
## Options
|
||||
|
||||
```sh
|
||||
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 ;
|
||||
|
||||
```txt
|
||||
Country|State|Location|Organization|Organizational Unit|domain name|password|confirm email
|
||||
```
|
||||
|
||||
### Sample
|
||||
|
||||
```txt
|
||||
jp|Toyko|Minato-ku|Foo Bar|IT Department|foobar.org|1234567|hostmaster@foobar.org
|
||||
```
|
||||
|
||||
```sh
|
||||
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/`
|
||||
Reference in New Issue
Block a user