当前位置:网站首页>[Qunhui] command line acme SH automatically apply for domain name certificate
[Qunhui] command line acme SH automatically apply for domain name certificate
2022-06-26 04:12:00 【Dudu listing】
Make a note of , If you forget , You can see it by yourself .
One :DNS API
I use Alibaba cloud




Two :
download acme:GitHub - acmesh-official/acme.sh: A pure Unix shell script implementing ACME client protocol
There are installation commands in the address :

I'm using ZeroSSL.com CA
Introduce the following :

Because of me i It uses DNS API, So find Alibaba related API


If you use other API, Just look for other settings ;

Ali settings are shown in the figure above . So we have all the basic knowledge points , Next, we start to configure ;
3、 ... and :
Qunhui command line login root
sudo -i
download acme, Like ; And extract the ;

towards zerossl Registered account ;

In the downloaded file , find

Alibaba cloud applied for the first step key Fill in the information dns_ali.sh
Run the generated certificate code :
./acme.sh --issue --dns dns_ali -d (*.example.com Own domain name ) -d (example.com Own domain name )Certificate generated successfully ;

Digression :
I am running in Qunhui command line , Decompress the corresponding download , It can be uploaded to the shared file of Qunhui , Then unzip the settings dns_ali.sh; At the same time, the generated certificate , Send to the shared file through the command line , In this way, the certificate can be seen in the Qunhui visual interface ; The certificate is valid for 90 God ; Wait until it expires , Reset it ;
acme There are many ways to generate certificates , for example , You can also use Qunhui docker Medium acme apply , It's the same ; The main thing is to pay attention to DNS API Related to key Set up correctly , And authorize .
边栏推荐
- [learn FPGA programming from scratch -45]: vision chapter - integrated circuits help high-quality development in the digital era -2- market forecast
- How do wechat applets delay? Timing? Execute a piece of code after? (kengji)
- Intelligent manufacturing learning videos and books
- [MySQL] MySQL export database
- 线程同步之读写锁
- Analysis of the principle of obxwidget
- Detr3d multi 2D picture 3D detection framework
- Mutex of thread synchronization (mutex)
- In the matter of getting customers at sea, how can advertisers play besides digital advertising?
- 第 4 篇:绘制四边形
猜你喜欢

Threejs special sky box materials, five kinds of sky box materials are downloaded for free

YOLOv5改进:更换骨干网(Backbone)

matplotlib折线图,文字显示,win10

2021 year end summary
![[Nuggets' operation routine disclosure] the routine of being truly Nuggets](/img/42/b4004579fc89f7efcb6b4a4bc7e389.png)
[Nuggets' operation routine disclosure] the routine of being truly Nuggets

35岁程序员炒Luna 千万资产3天归零,网友:和赌博一样

Nailing open platform - applet development practice (nailing applet server side)
![[QT] dialog box](/img/ca/e65a0c167a4509f7c6a241870f6a32.png)
[QT] dialog box
![[Flink] Flink source code analysis - creation of jobgraph in batch mode](/img/8e/1190eec23169a4d2a06e1b03154d4f.jpg)
[Flink] Flink source code analysis - creation of jobgraph in batch mode

Camera-CreateCaptureSession
随机推荐
判断两个集合的相同值 ||不同值
What if the serial port fails to open when the SCM uses stc-isp to download software?
[learn FPGA programming from scratch -45]: vision chapter - integrated circuits help high-quality development in the digital era -2- market forecast
763. dividing alphabetic intervals
Three level menu applet
Ipvs0 network card of IPVS
MySQL est livré avec l'outil de test de performance MySQL lap pour effectuer des tests de résistance
After four years of outsourcing, people are directly abandoned...
Getting started with flask
Quanergy欢迎Lori Sundberg出任首席人力资源官
WPF value conversion
Chrome page recording and playback function
2021 year end summary
How do wechat applets delay? Timing? Execute a piece of code after? (kengji)
The open software of win10 system is too small. How to make it larger (effective through personal test)
Database related knowledge
解析JSON接口并批量插入到数据库中
三元损失英文版
线程同步之读写锁
2022.6.24-----leetcode. five hundred and fifteen