当前位置:网站首页>长安链学习笔记-证书研究之证书模式
长安链学习笔记-证书研究之证书模式
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,否则添加递增编号
边栏推荐
- Threadlocalutils (tool class IV)
- ROS学习(22)TF变换
- String to date object
- UC伯克利助理教授Jacob Steinhardt预测AI基准性能:AI在数学等领域的进展比预想要快,但鲁棒性基准性能进展较慢
- Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
- MySQL execution process and sequence
- 一文带你走进【内存泄漏】
- POJ 3177 redundant paths POJ 3352 road construction (dual connection)
- Stm32f4 --- general timer update interrupt
- JS how to quickly create an array with length n
猜你喜欢
阿里云中间件开源往事
Twenty or thirty thousand a leaf? "Yang Mou" behind the explosion of plant consumption
Analyze "C language" [advanced] paid knowledge [i]
张平安:加快云上数字创新,共建产业智慧生态
Recognition of C language array
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
一文带你走进【内存泄漏】
ROS学习(21)机器人SLAM功能包——orbslam的安装与测试
Cat recycling bin
红外相机:巨哥红外MAG32产品介绍
随机推荐
ROS学习(十九)机器人SLAM功能包——cartographer
ROS学习(25)rviz plugin插件
ROS learning (23) action communication mechanism
ROS learning (21) robot slam function package -- installation and testing of orbslam
The cradle of eternity
开发中对集合里面的数据根据属性进行合并数量时犯的错误
C语言【23道】经典面试题【下】
Shell script quickly counts the number of lines of project code
Cisp-pte practice explanation (II)
C语言关于链表的代码看不懂?一篇文章让你拿捏二级指针并深入理解函数参数列表中传参的多种形式
ROS learning (26) dynamic parameter configuration
How to use strings as speed templates- How to use String as Velocity Template?
AcWing 361. Sightseeing cow problem solution (SPFA seeking positive ring)
Analyze "C language" [advanced] paid knowledge [II]
@Before, @after, @around, @afterreturning execution sequence
ZOJ problem set – 2563 long dominoes [e.g. pressure DP]
Ds-5/rvds4.0 variable initialization error
STM32F4---PWM输出
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
JVM 内存模型