Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
chainmaker-tee
chainmaker-tee
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • chainmaker-teechainmaker-tee
  • Issues
  • #2

Closed (moved)
Open
Opened Mar 31, 2023 by zeng raoli@zengraoli

版本v2.2.1_private_contract配置文件config.yml指定了tls证书还是出现问题

版本v2.2.1_private_contract配置文件config.yml指定了tls证书还是出现问题

首先编译得到gateway sudo go build

在使用chainmaker-go中,cmc正确执行,使用的证书为 `

客户端用户私钥路径

user_key_file_path: "./testdata/crypto-config/wx-org1.chainmaker.org/user/client1/client1.tls.key"

客户端用户证书路径

user_crt_file_path: "./testdata/crypto-config/wx-org1.chainmaker.org/user/client1/client1.tls.crt" `

将这两文件拷贝到chainmaker-tee/gateway/cert下

并将testdata/crypto-config/wx-org1.chainmaker.org/ca(包含ca.crt与ca.key)目录拷贝到chainmaker-tee/gateway/cert中,执行命令 ./gateway start

提示如下内容 ubuntu@VM-0-3-ubuntu:~/chainmaker-tee/gateway$ ./gateway start init grpc pool client success 2023/03/31 17:36:44 starting sgx server get cert hash failed, get cert hash failed, tx verify failed, tls certificate is misused for tx sign

不知道问题出在哪里?是证书有问题吗?cmc是正常的都是同一套证书?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/chainmaker-tee#2

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。