Skip to content

Commit 0365bdb

Browse files
committed
Adds csr flag to usage example
1 parent 5e6a8d8 commit 0365bdb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ self-signed-tls --ca-only --trust
3939
# Only create a certificate signing request
4040
self-signed-tls --csr-only
4141

42-
# Generate a signed certificate using an existing certificate authority
43-
self-signed-tls --ca-key='/path/to/CA.key' --ca-cert='/path/to/CA.pem'
42+
# Generate a signed certificate using existing files
43+
self-signed-tls --ca-key='/path/to/CA.key' --ca-cert='/path/to/CA.pem' --csr='/path/to/EXAMPLE.csr'
4444

4545
# Automate certificate generation
4646
self-signed-tls --no-interaction -c 'US' -s 'California' -l 'Los Angeles' -o 'Example Org' -u 'Example Unit' -n 'example.com' -a 'www.example.com'

self-signed-tls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ _help() {
118118
# Only create a certificate signing request
119119
${SCRIPT_NAME} --csr-only
120120
121-
# Generate a signed certificate using an existing certificate authority
122-
${SCRIPT_NAME} --ca-key='/path/to/CA.key' --ca-cert='/path/to/CA.pem'
121+
# Generate a signed certificate using existing files
122+
${SCRIPT_NAME} --ca-key='/path/to/CA.key' --ca-cert='/path/to/CA.pem' --csr='/path/to/EXAMPLE.csr'
123123
124124
# Automate certificate generation
125125
${SCRIPT_NAME} --no-interaction -c 'US' -s 'California' -l 'Los Angeles' -o 'Example Org' -u 'Example Unit' -n 'example.com' -a 'www.example.com'

0 commit comments

Comments
 (0)