From 26202faa24acdc6eb033889e36a16b52e295078d Mon Sep 17 00:00:00 2001 From: Jun Futagawa Date: Thu, 5 Oct 2023 15:06:57 +0900 Subject: [PATCH] refactor: usage --- README.md | 4 ++-- sslcert-compose | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f3ff25a..4d0c772 100644 --- a/README.md +++ b/README.md @@ -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/emailAddress=ssladmin@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/emailAddress=ssladmin@example.org" + -D 3650 Check CSR file: sslcert-compose -c example.org.csr diff --git a/sslcert-compose b/sslcert-compose index 31f682d..7b56c21 100755 --- a/sslcert-compose +++ b/sslcert-compose @@ -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/emailAddress=ssladmin@example.org" + -s "/C=JP/ST=Tokyo/L=Shinjuku-ku/O=Example Corporation/OU=Example Group/CN=example.org/emailAddress=ssladmin@example.org" Create private key and CSR files in a specific output directory: $(basename ${0}) -o /path/to/output/ -n example.org @@ -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/emailAddress=ssladmin@example.org" + -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