This repository was archived by the owner on Jan 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ RUN \
109
109
certbot-dns-rfc2136 \
110
110
certbot-dns-route53 \
111
111
certbot-dns-transip \
112
+ certbot-dns-aliyun \
112
113
certbot-plugin-gandi \
113
114
cryptography \
114
115
requests && \
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ RUN \
109
109
certbot-dns-rfc2136 \
110
110
certbot-dns-route53 \
111
111
certbot-dns-transip \
112
+ certbot-dns-aliyun \
112
113
certbot-plugin-gandi \
113
114
cryptography \
114
115
requests && \
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ RUN \
109
109
certbot-dns-rfc2136 \
110
110
certbot-dns-route53 \
111
111
certbot-dns-transip \
112
+ certbot-dns-aliyun \
112
113
certbot-plugin-gandi \
113
114
cryptography \
114
115
requests && \
Original file line number Diff line number Diff line change
1
+ # Obtain Aliyun RAM AccessKey
2
+ # https://ram.console.aliyun.com/
3
+ # And ensure your RAM account has AliyunDNSFullAccess permission.
4
+
5
+ certbot_dns_aliyun:dns_aliyun_access_key = 12345678
6
+ certbot_dns_aliyun:dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcdef
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ cp /config/fail2ban/jail.local /etc/fail2ban/jail.local
76
76
cp /defaults/ldap.conf /config/nginx/ldap.conf
77
77
78
78
# check to make sure DNSPLUGIN is selected if dns validation is used
79
- [[ "$VALIDATION" = "dns" ]] && [[ ! "$DNSPLUGIN" =~ ^(cloudflare|cloudxns|cpanel|digitalocean|dnsimple|dnsmadeeasy|domeneshop|gandi|google|inwx|linode|luadns|nsone|ovh|rfc2136|route53|transip)$ ]] && \
79
+ [[ "$VALIDATION" = "dns" ]] && [[ ! "$DNSPLUGIN" =~ ^(cloudflare|cloudxns|cpanel|digitalocean|dnsimple|dnsmadeeasy|domeneshop|gandi|google|inwx|linode|luadns|nsone|ovh|rfc2136|route53|transip|aliyun )$ ]] && \
80
80
echo "Please set the DNSPLUGIN variable to a valid plugin name. See docker info for more details." && \
81
81
sleep infinity
82
82
@@ -180,7 +180,7 @@ if [ "$VALIDATION" = "dns" ]; then
180
180
PREFCHAL="-a certbot-plugin-${DNSPLUGIN}:dns --certbot-plugin-${DNSPLUGIN}:dns-credentials /config/dns-conf/${DNSPLUGIN}.ini --manual-public-ip-logging-ok"
181
181
elif [[ "$DNSPLUGIN" =~ ^(google)$ ]]; then
182
182
PREFCHAL="--dns-${DNSPLUGIN} --dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.json --manual-public-ip-logging-ok --dns-${DNSPLUGIN}-propagation-seconds 120"
183
- elif [[ "$DNSPLUGIN" =~ ^(domeneshop|inwx|transip)$ ]]; then
183
+ elif [[ "$DNSPLUGIN" =~ ^(domeneshop|inwx|transip|aliyun )$ ]]; then
184
184
PREFCHAL="-a certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN} --certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.ini --manual-public-ip-logging-ok --certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN}-propagation-seconds 180"
185
185
else
186
186
PREFCHAL="--dns-${DNSPLUGIN} --dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.ini --manual-public-ip-logging-ok"
You can’t perform that action at this time.
0 commit comments