Skip to content

Commit

Permalink
[FABC-768] Doc: Better Markup
Browse files Browse the repository at this point in the history
FABC-768 #done

The following page has description of defining environment variables,
which is better to markup as a code block.

Also, there is a code block with collapsed indents.

This patch fixes these markup issues.

https://hyperledger-fabric-ca.readthedocs.io/en/latest/users-guide.html#hsm

Change-Id: Ie4ff94f88c859a9d72b3b20d977096f8b9d15e48
Signed-off-by: Yuta Namiki <[email protected]>
  • Loading branch information
Yuta Namiki committed Dec 6, 2018
1 parent b959937 commit b2a3132
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/source/users-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2230,13 +2230,11 @@ of PKCS11 called softhsm (see https://github.com/opendnssec/SoftHSMv2).
After installing softhsm, make sure to set your SOFTHSM2_CONF environment variable to
point to the location where the softhsm2 configuration file is stored. The config file looks like

.. code::
.. code::
directories.tokendir = /tmp/
objectstore.backend = file
log.level = INFO
objectstore.backend = file
log.level = INFO
You can find example configuration file named softhsm2.conf under testdata directory.

Expand Down Expand Up @@ -2269,10 +2267,12 @@ Note that the default field’s value is PKCS11.
And you can override relevant fields via environment variables as follows:

FABRIC_CA_SERVER_BCCSP_DEFAULT=PKCS11
FABRIC_CA_SERVER_BCCSP_PKCS11_LIBRARY=/usr/local/Cellar/softhsm/2.1.0/lib/softhsm/libsofthsm2.so
FABRIC_CA_SERVER_BCCSP_PKCS11_PIN=98765432
FABRIC_CA_SERVER_BCCSP_PKCS11_LABEL=ForFabric
.. code:: bash
FABRIC_CA_SERVER_BCCSP_DEFAULT=PKCS11
FABRIC_CA_SERVER_BCCSP_PKCS11_LIBRARY=/usr/local/Cellar/softhsm/2.1.0/lib/softhsm/libsofthsm2.so
FABRIC_CA_SERVER_BCCSP_PKCS11_PIN=98765432
FABRIC_CA_SERVER_BCCSP_PKCS11_LABEL=ForFabric
`Back to Top`_

Expand Down

0 comments on commit b2a3132

Please sign in to comment.