Skip to content

Commit

Permalink
refactor: usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jfut committed Oct 5, 2023
1 parent 64d147f commit 26202fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ Examples:

Create private key, CSR and self-signed CRT files with an expiration date of 3650 days:
sslcert-compose -n example.org
-s "/C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/[email protected]" \
-S -A "*.example.org,example.com" \
-D 3650 \
-s "/C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/[email protected]"
-D 3650

Check CSR file:
sslcert-compose -c example.org.csr
Expand Down
8 changes: 4 additions & 4 deletions sslcert-compose
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Examples:
Create private key and CSR files with a specified request subject:
$(basename ${0}) -n example.org \\
-s "/C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/[email protected]"
-s "/C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/[email protected]"
Create private key and CSR files in a specific output directory:
$(basename ${0}) -o /path/to/output/ -n example.org
Expand All @@ -52,9 +52,9 @@ Examples:
Create private key, CSR and self-signed CRT files with an expiration date of 3650 days:
$(basename ${0}) -n example.org
-S -A "*.example.org,example.com" \\
-D 3650 \\
-s "/C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/[email protected]"
-s "/C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/emailAddress=ssladmin@example.org" \\
-S -A "*.example.org,example.com" \\
-D 3650
Check CSR file:
$(basename ${0}) -c example.org.csr
Expand Down

0 comments on commit 26202fa

Please sign in to comment.