https://github.com/monkeywie/certbot-dns-aliyun
certbot dns aliyun plugin.
https://github.com/monkeywie/certbot-dns-aliyun
Last synced: 3 months ago
JSON representation
certbot dns aliyun plugin.
- Host: GitHub
- URL: https://github.com/monkeywie/certbot-dns-aliyun
- Owner: monkeyWie
- Created: 2019-08-13T06:21:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-04T02:16:08.000Z (about 6 years ago)
- Last Synced: 2026-03-31T06:31:58.871Z (3 months ago)
- Language: Shell
- Size: 5.85 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## certbot 阿里云dns插件
用于阿里云上域名的certbot自动续签证书。
### 编译
```shell
sh build.sh
```
### 运行
```shell
certbot-aliyun -h
Usage of certbot-aliyun:
-action string
create or delete
-domain string
create domain
-id string
accessKeyId
-record string
delete recordId
-region string
regionId
-rr string
create RR
-secret string
accessSecret
-value string
create value
```
### docker
```
#构建
cp certbot-aliyun ./docker
cd docker
docker build -t certbot-aliyun:latest .
#启动容器
docker run \
--name cert \
-itd \
-v /etc/letsencrypt:/etc/letsencrypt \
-e ACCESS_KEY_ID=XXX \
-e ACCESS_KEY_SECRET=XXX \
liwei2633/certbot-aliyun
#首次创建证书,根据命令提示输入,多个域名用,隔开
docker exec -it cert ./create.sh *.pdown.org
#续签
docker exec cert ./renew.sh
```