Commit 2e143c5a authored by 王进波's avatar 王进波

update

parent 5f5fd4ab
......@@ -53,7 +53,7 @@
- [用 LinqPad 进行快速开发](doc/LinqPad快速开发数据轮询持久化.md)
- [用Quartz.net开发定时调度]
- [创建交互式Windows任务计划](./doc/创建交互式Windows任务计划.md)
- [用Certbot部署Let‘sEncrypt的HTTPS证书](./doc/用Certbot部署Let'sEncrypt的HTTPS证书.md)
- [用Certbot部署Let‘sEncrypt的HTTPS证书](./doc/Certbot部署LetsEncrypt的HTTPS证书.md)
## 外部文档
......
# 用 Certbot 部署 Let's Encrypt 的 HTTPS 证书
# 用Certbot部署LetsEncrypt的HTTPS证书
这个操作在 Linux 下很方便,一行命令就可以搞定,Windows 上还是折腾了一番,找了很多文档都对不上我的需求,最后在[官方文档](https://certbot.eff.org/docs/using.html#manual)这里得到了答案。简述过程如下:
......@@ -9,7 +9,7 @@
### 安装 Certbot
```shell
pip install certbot
```
### 开始生成证书
......@@ -69,13 +69,32 @@ Press Enter to Continue
配置完成后用 Linux 命令行验证配置成功
```shell
dig -t txt _acme-challenge.haian.wohitech.com
```
结果如下
```shell
kinboy@DESKTOP-HPEE23P:~$ dig -t txt _acme-challenge.haian.wohitech.com
; <<>> DiG 9.11.3-1ubuntu1-Ubuntu <<>> -t txt _acme-challenge.haian.wohitech.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59734
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;_acme-challenge.haian.wohitech.com. IN TXT
;; ANSWER SECTION:
_acme-challenge.haian.wohitech.com. 599 IN TXT "eDhLhhaaal5SUpAzMsMTdc5IoleG_RkZXFV0W-nTMW8"
;; Query time: 365 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Dec 16 23:55:34 DST 2018
;; MSG SIZE rcvd: 119
```
记录解析成功
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment