Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generator add new command: generate_agency_certificate_key_csr and sign_agency_certificate #183

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

sagexueqi
Copy link

command: generate_agency_certificate_key_csr

Command description generate agency certificate key and csr file
Premise of use no
Parameter setting path for certificate key, csr file and create agency name
Function Generate the certificate key and csr file for the CA to issue the certificate
Adaptable scenario agency user needs to create certificate key, csr file
命令解释 生成联盟链机构证书key和csr文件
使用前提
参数设置 文件存放路径和机构名称
实现功能 联盟链机构生成证书key和csr供联盟链管理机构签发机构证书
适用场景 联盟链机构需要基于工具生成上述文件
./generator --generate_agency_certificate_key_csr ./credential agencyA

command: sign_agency_certificate

Command description The CA agency issues the agency certificate
Premise of use ca.crt,ca.key exist; agency folder exist and agency.csr exist
Parameter setting path forca.crt,ca.key; path of agency folder
Function The CA issues the certificate based on the root certificate through the csr file
Adaptable scenario The CA agency user needs to create agency certificate with csr file
命令解释 联盟链管理机构签发机构证书
使用前提 ca证书、私钥存在;签发机构证书输出路径存在且存在agency.csr文件
参数设置 ca根证书、私钥存放路径;机构证书路径
实现功能 联盟链管理机构基于ca根证书,通过机构证书csr文件签发机构证书
适用场景 联盟链机构需要基于工具生成上述文件
./generator --sign_agency_certificate ./credential/ca ./credential/agencyA

@ghost
Copy link

ghost commented Dec 16, 2022

Sider has detected 1 warning on analyzing the commit ec21ebd.

If the errors persist even after retrying, the following actions may resolve them:

If you still have problems, feel free to ask us via chat. 💬


You can turn off such notifications if unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant