Skip to content

Commit

Permalink
[FAB-8547] Fix ca.keyfile args typo in documents
Browse files Browse the repository at this point in the history
Some documents and comment use --ca-keyfile instead of --ca.keyfile.
This patch will fix typos in following file.
- docs/source/serverconfig.rst
- docs/source/user-guide.rst
- cmd/fabric-ca-server/config.go

Change-Id: I759243b358cafa64875ba3f0b16cfcbcfe6f6849
Signed-off-by: Nao Nishijima <nao.nishijima@hal.hitachi.com>
  • Loading branch information
Nao Nishijima committed Feb 27, 2018
1 parent 680960e commit 3ce971f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/fabric-ca-server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ const (
# Examples:
# a) --port 443
# To set the listening port
# b) --ca-keyfile ../mykey.pem
# b) --ca.keyfile ../mykey.pem
# To set the "keyfile" element in the "ca" section below;
# note the '-' separator character.
# note the '.' separator character.
# 2) environment variable
# Examples:
# a) FABRIC_CA_SERVER_PORT=443
Expand Down
4 changes: 2 additions & 2 deletions docs/source/serverconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Fabric-CA Server's Configuration File
# Examples:
# a) --port 443
# To set the listening port
# b) --ca-keyfile ../mykey.pem
# b) --ca.keyfile ../mykey.pem
# To set the "keyfile" element in the "ca" section below;
# note the '-' separator character.
# note the '.' separator character.
# 2) environment variable
# Examples:
# a) FABRIC_CA_SERVER_PORT=443
Expand Down
2 changes: 1 addition & 1 deletion docs/source/users-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ The fields are as follows:
- **C** is the country

If custom values for the CSR are required, you may customize the configuration
file, delete the files specified by the ``ca.certfile`` and ``ca-keyfile``
file, delete the files specified by the ``ca.certfile`` and ``ca.keyfile``
configuration items, and then run the ``fabric-ca-server init -b admin:adminpw``
command again.

Expand Down

0 comments on commit 3ce971f

Please sign in to comment.