Skip to content

Commit

Permalink
[FAB-8091] doc possible backlevel shim on tls err
Browse files Browse the repository at this point in the history
Update the text on debugging a remote error: tls: bad
certificate message to remind the user that a chaincode
is a peer client also, and that using an old version of
the chaincode shim might result in this error.

Change-Id: I05dae9a57625301196500b5d9127ec3e7e3f8c81
Signed-off-by: Luis Sanchez <sanchezl@us.ibm.com>
  • Loading branch information
Luis Sanchez committed Feb 14, 2018
1 parent ea5971a commit 23d022d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/enable_tls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,12 @@ not receive the correct client certificate or it received a client certificate t
not trust. Make sure the client is sending its certificate and that it has been signed by one
of the CA certificates trusted by the peer or orderer node.

If you see the error message ``remote error: tls: bad certificate`` in your chaincode logs,
ensure that your chaincode has been built using the chaincode shim provided with Fabric v1.1
or newer. If your chaincode does not contain a vendored copy of the shim, deleting the
chaincode container and restarting its peer will rebuild the chaincode container using the
current shim version. If your chaincode vendored a previous version of the shim, review the
documentation on how to :ref:`upgrade-vendored-shim`.

.. Licensed under Creative Commons Attribution 4.0 International License
https://creativecommons.org/licenses/by/4.0/
2 changes: 2 additions & 0 deletions docs/source/upgrade_to_one_point_one.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ Repeat this process for each orderer.

.. note:: We repeat. Pay close attention to your orderer upgrades. State forks are bad.

.. _upgrade-vendored-shim:

Upgrade Chaincodes With Vendored Shim
-------------------------------------

Expand Down

0 comments on commit 23d022d

Please sign in to comment.