1- # sslcert-compose
1+ # sslcert-cli
22
3- ![ Tag] ( https://img.shields.io/github/tag/jfut/sslcert-compose .svg )
3+ ![ Tag] ( https://img.shields.io/github/tag/jfut/sslcert-cli .svg )
44[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
55
6- sslcert-compose is a command line tool that create SSL certificate files such as a private key, CSR, and CRT.
6+ sslcert-cli is a command line tool that create SSL certificate files such as a private key, CSR, and CRT.
77
88## Usage
99
1010``` bash
11- sslcert-compose 1.0 .0
11+ sslcert-cli 1.1 .0
1212
1313Create SSL certificate files such as a private key, CSR, and CRT.
1414
1515Usage:
16- sslcert-compose [-f] [-o OUTPUT_DIR] [-l KEY_BIT_LENGTH] [-p KEY_PASS_PHRASE] [-s SUBJECT] [-S] [-A SUBJECT_ALT_NAMES] [-D EXPIRE_DAYS] -n FQDN
17- sslcert-compose -c FQDN_CSR_FILE
18- sslcert-compose -c FQDN_CRT_FILE
16+ sslcert-cli [-f] [-o OUTPUT_DIR] [-l KEY_BIT_LENGTH] [-p KEY_PASS_PHRASE] [-s SUBJECT] [-S] [-A SUBJECT_ALT_NAMES] [-D EXPIRE_DAYS] -n FQDN
17+ sslcert-cli -c FQDN_CSR_FILE
18+ sslcert-cli -c FQDN_CRT_FILE
1919
2020Default options:
2121 -o Output directory (default: FQDN/YYYY-MM-DD/)
@@ -24,33 +24,33 @@ Default options:
2424
2525Examples:
2626 Create private key and CSR files:
27- sslcert-compose -n example.org
27+ sslcert-cli -n example.org
2828
2929 Create private key with pass phrase and CSR files:
3030 KEY_PASS_PHRASE=$( read -s -p " KEY_PASS_PHRASE: " KEY_PASS_PHRASE; echo ${KEY_PASS_PHRASE} )
31- sslcert-compose -p " ${KEY_PASS_PHRASE} " -n example.org
31+ sslcert-cli -p " ${KEY_PASS_PHRASE} " -n example.org
3232
3333 Create private key and CSR files with a specified request subject:
34- sslcert-compose -n example.org \
34+ sslcert-cli -n example.org \
3535 -s " /C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/emailAddress=ssladmin@example.org"
3636
3737 Create private key and CSR files in a specific output directory:
38- sslcert-compose -o /path/to/output/ -n example.org
38+ sslcert-cli -o /path/to/output/ -n example.org
3939
4040 Create private key and CSR files in a specific output directory with overwrite:
41- sslcert-compose -o /path/to/output/ -n example.org -f
41+ sslcert-cli -o /path/to/output/ -n example.org -f
4242
4343 Create private key, CSR and self-signed CRT files with an expiration date of 3650 days:
44- sslcert-compose -n example.org
44+ sslcert-cli -n example.org
4545 -s " /C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/emailAddress=ssladmin@example.org" \
4646 -S -A " *.example.org,example.com" \
4747 -D 3650
4848
4949 Check CSR file:
50- sslcert-compose -c example.org.csr
50+ sslcert-cli -c example.org.csr
5151
5252 Check CRT file:
53- sslcert-compose -c example.org.crt
53+ sslcert-cli -c example.org.crt
5454
5555Server configuration examples:
5656 Apache:
0 commit comments