Skip to content

Commit

Permalink
* update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
junqizhang-dev committed Aug 6, 2020
1 parent db090b6 commit 6518cfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions readthedocs/zh_CN/docs/deploy-via-web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,16 @@
* 连接单个节点的配置示例:10.10.4.1:20200
* 连接多个节点的配置示例:10.10.4.1:20200,10.10.4.2:20200,127.0.0.1:20200

- 配置 SDK 证书
.. _certificate-create:

- 配置SDK证书
* 配置说明:连接区块链节点时需要使用的 SDK 证书。
* 配置要求:登录区块链节点服务器, 生成/拷贝证书文件, 并下载到本机后上传。SDK 证书文件包括 ca.crt, node.crt 和 node.key。
* 请从您的FISCO-BCOS节点安装目录获取 SDK 证书文件(包括三个文件:ca.crt, node.crt 和 node.key), 可能正在下面两个目录: ``~/fisco/nodes/127.0.0.1/sdk/`` 或 ``~/fisco/generator/tmp_one_click/agencyA/sdk/``。



.. note::
1. 请从您的FISCO-BCOS节点安装目录获取 SDK 证书文件, 例如:`~/fisco/nodes/127.0.0.1/sdk/` 或 `~/fisco/generator/tmp_one_click/agencyA/sdk/`。
2. \ `「区块链中的各种证书」 <https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/manual/certificates.html>`_\
1. 对证书有疑问,可以参看这篇文章: \ `「区块链中的各种证书详解」 <https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/manual/certificates.html>`_\


.. _group-selection:
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/zh_CN/docs/weidentity-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ WeIdentity DID = did:weid:chain-id:bs-specific-string

备注:bsSpecificString根据区块链底层平台和业务具体情况来确定生成规则,例如可以是随机字符串,或者区块链上的地址。

示例(这个例子中,chain-id是101): ``"did:weid:101:0x0086eb1f712ebc6f1c276e12ec21"``
示例(这个例子中,chain-id是``101``: ``"did:weid:101:0x0086eb1f712ebc6f1c276e12ec21"``

WeIdentity Document格式
^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 6518cfb

Please sign in to comment.