当前位置:网站首页>Making CSR file for face core
Making CSR file for face core
2022-06-23 20:27:00 【Yuanlunqiao】
This document can be used as [E Guide for Zhengtong to obtain real name information ](https://cloud.tencent.com/document/product/1007/63370) in `2. Make CSR file ` A supplement to
One 、 Installation state secret SSL
# download gmssl wget https://github.com/guanzhi/GmSSL/archive/master.zip # decompression unzip master.zip # cd To GmSSL-master Under the table of contents cd GmSSL-master # Compile static libraries only # --prefix Appoint gmssl Installation path for # --openssldir Express OpenSSL Data area , for example openssl.cnf, Certificates and keys . If it's a relative catalog , It will be added to --prefix In a given directory .【 You don't specify , Default in --prefix At the same level ssl Catalog 】 # no-shared Indicates that only static libraries are compiled , Do not compile dynamic library ./config --prefix=/usr/local/gmssl no-shared # install ( If there is an old version , have access to make uninstall uninstall , Then delete the corresponding file ) make make install # Add environment variables # Under the specified path bin Catalog echo 'export PATH="$PATH:/usr/local/gmssl/bin"' >> ~/.bash_profile # Refresh source ~/.bash_profile # Check whether the installation is successful gmssl version -a # Generate public and private key pairs gmssl ecparam -genkey -name sm2p256v1 -out CAkey.pem # View and keep the private key gmssl pkey -in CAkey.pem -noout -text
Be careful :
Please keep the obtained private key properly , Used for subsequent decryption steps . The private key is shown in the red box below ( Please remove the colon in the middle when using ):
Create certificate request
gmssl req -utf8 -new -sm3 -key CAkey.pem -out CAcsr.pem
The information filling specifications and instructions are shown in the figure below :
View certificate request
gmssl req -in CAcsr.pem -noout -text -subject
thus , The certificate request is completed , Please put CAcsr.pem Upload files [ Console ](https://console.cloud.tencent.com/faceid/access?tab=eid),CAkey.pem( Private key ) Please keep it properly .
Decrypt
Because I have to upload CSR and CA Certification and other processes , My personal server , Unable to simulate , Therefore, the follow-up process can refer to the document :https://cloud.tencent.com/document/product/1007/63370 in
Two 、ERROR wrc
Report errors :You need Perl 5
// download wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz perhaps yum list perl View installable perl package adopt yum install perl-xxx install // decompression tar -xzf perl-5.28.0.tar.gz cd perl-5.28.0 // Run profile ./Configure -des -Dprefix=$HOME/localperl // compile make // Compile testing make test // Compile according to make install
边栏推荐
- 【Golang】来几道题以加强Slice
- 【Golang】快速复习指南QuickReview(三)——map
- 金九银十,靠这个细节,offer拿到手软!
- Deeply understand and grasp the basic characteristics of digital economy
- Development notes of wedding studio applet based on wechat applet
- [golang] some questions to strengthen slice
- 【Golang】快速复习指南QuickReview(二)——切片slice
- GL Studio 5 installation and experience
- [vernacular technology] QR code
- vs2022scanf函数的使用,使用scanf的报错-返回值被忽略:解决·方法
猜你喜欢

How to write a great online user manual in 7 steps

RStudio 1.4软件安装包和安装教程

Eight misunderstandings, broken one by one (final): the cloud is difficult to expand, the customization is poor, and the administrator will lose control?

Ugeek's theory 𞓜 application and design of observable hyperfusion storage system

Helix QAC is updated to 2022.1 and will continue to provide high standard compliance coverage

LeetCode 260. 只出现一次的数字 III
Implementing MySQL fuzzy search with node and express

FPGA based electromagnetic ultrasonic pulse compression detection system paper + source file

Kubernetes resource topology aware scheduling optimization

80% of people will be wrong about the three counter intuitive questions?
随机推荐
vs2022scanf函数的使用,使用scanf的报错-返回值被忽略:解决·方法
Interview with Mo Tianlun | ivorysql wangzhibin - ivorysql, an Oracle compatible open source database based on PostgreSQL
【Golang】使用Go语言操作etcd——配置中心
【Golang】快速复习指南QuickReview(七)——interface
Application of JDBC in performance test
SAP实施项目上的内部顾问与外部顾问,相互为难还是相互成就?
Application de JDBC dans les essais de performance
I came from a major, so I didn't want to outsource
Is Huishang futures trading software formal? How to download safely?
Kubernetes resource topology aware scheduling optimization
基于SSM实现微博系统
[golang] quick review guide quickreview (III) - Map
LeetCode 473. Match to square
20省市公布元宇宙路线图
[golang] quick review guide quickreview (VI) -- struct
深入理解和把握数字经济的基本特征
How to avoid the "black swan" incident in the gene field: a security war behind a preventive "recall"
35岁危机?内卷成程序员代名词了…
教你如何用网页开发桌面应用
[golang] type conversion summary