当前位置:网站首页>长安链学习笔记-证书研究之证书模式
长安链学习笔记-证书研究之证书模式
2022-07-06 18:34:00 【InfoQ】
crypto_config:
- domain: chainmaker.org
host_name: wx-org
count: 4 # 如果为1,直接使用host_name,否则添加递增编号
# pk_algo: sm2
pk_algo: ecc_p256
ski_hash: sha256
#pkcs11配置
pkcs11:
enabled: false
library: /usr/local/lib64/pkcs11/libupkcs11.so
label: HSM
password: 11111111
session_cache_size: 10
hash: "SHA256" # hash algorithm used to compute SKI
specs: &specs_ref
expire_year: 10
sans:
- chainmaker.org
- localhost
- 127.0.0.1
location: &location_ref
country: CN
locality: Beijing
province: Beijing
# CA证书配置
ca:
location:
<<: *location_ref
specs:
<<: *specs_ref
# 节点证书配置
node:
- type: consensus
# 共识节点数量
count: 1
# 共识节点配置
location:
<<: *location_ref
specs:
<<: *specs_ref
expire_year: 5
- type: common
# 普通节点数量
count: 1
# 普通节点配置
location:
<<: *location_ref
specs:
<<: *specs_ref
expire_year: 5
user:
- type: admin
# 管理员证书数量
count: 1
# 管理员证书配置
location:
<<: *location_ref
expire_year: 5
- type: client
# 普通用户证书数量
count: 1
# 普通用户证书配置
location:
<<: *location_ref
expire_year: 5
- type: light
# 轻节点用户证书数量
count: 1
# 轻节点用户证书配置
location:
<<: *location_ref
expire_year: 5
- host_name: wx-org
- count: 4 # 如果为1,直接使用host_name,否则添加递增编号
边栏推荐
- 红外相机:巨哥红外MAG32产品介绍
- AcWing 1142. Busy urban problem solving (minimum spanning tree)
- FLIR blackfly s industrial camera: explanation and configuration of color correction and code setting method
- FLIR blackfly s industrial camera: synchronous shooting of multiple cameras through external trigger
- Cisp-pte practice explanation (II)
- ROS learning (25) rviz plugin
- Correct use of BigDecimal
- MySQL最基本的SELECT(查询)语句
- 开发中对集合里面的数据根据属性进行合并数量时犯的错误
- The GPG keys listed for the "MySQL 8.0 community server" repository are already ins
猜你喜欢
刨析《C语言》【进阶】付费知识【完结】
Blackfly s usb3 industrial camera: buffer processing
Cat recycling bin
Time synchronization of livox lidar hardware -- PPS method
MySQL execution process and sequence
FLIR blackfly s industrial camera: auto exposure configuration and code
Centros 8 installation MySQL Error: The gpg Keys listed for the "MySQL 8.0 Community Server" repository are already ins
CISP-PTE实操练习讲解(二)
ROS学习(26)动态参数配置
3D激光SLAM:Livox激光雷达硬件时间同步
随机推荐
张平安:加快云上数字创新,共建产业智慧生态
刨析《C语言》【进阶】付费知识【二】
Curl command
ROS learning (21) robot slam function package -- installation and testing of orbslam
Cat recycling bin
Shell script quickly counts the number of lines of project code
处理streamlit库上传的图片文件
传感器:DS1302时钟芯片及驱动代码
FLIR blackfly s industrial camera: auto exposure configuration and code
STM32F4---通用定时器更新中断
The GPG keys listed for the "MySQL 8.0 community server" repository are already ins
C语言【23道】经典面试题【下】
POJ 3177 redundant paths POJ 3352 road construction (dual connection)
Analyze "C language" [advanced] paid knowledge [End]
C language [23] classic interview questions [Part 2]
Ros Learning (23) Action Communication Mechanism
centos8安裝mysql報錯:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already ins
Compile command line terminal swift
ROS学习(25)rviz plugin插件
机器人队伍学习方法,实现8.8倍的人力回报