Skip to content

Commit

Permalink
Adds csr flag to usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
lstellway committed Apr 6, 2021
1 parent 5e6a8d8 commit 0365bdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ self-signed-tls --ca-only --trust
# Only create a certificate signing request
self-signed-tls --csr-only

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

# Automate certificate generation
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'
Expand Down
4 changes: 2 additions & 2 deletions self-signed-tls
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ _help() {
# Only create a certificate signing request
${SCRIPT_NAME} --csr-only
# Generate a signed certificate using an existing certificate authority
${SCRIPT_NAME} --ca-key='/path/to/CA.key' --ca-cert='/path/to/CA.pem'
# Generate a signed certificate using existing files
${SCRIPT_NAME} --ca-key='/path/to/CA.key' --ca-cert='/path/to/CA.pem' --csr='/path/to/EXAMPLE.csr'
# Automate certificate generation
${SCRIPT_NAME} --no-interaction -c 'US' -s 'California' -l 'Los Angeles' -o 'Example Org' -u 'Example Unit' -n 'example.com' -a 'www.example.com'
Expand Down

0 comments on commit 0365bdb

Please sign in to comment.