Skip to content

Commit 87cdcfd

Browse files
committed
update dns conf inis
1 parent 71397b4 commit 87cdcfd

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

root/defaults/dns-conf/aliyun.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# https://ram.console.aliyun.com/
33
# And ensure your RAM account has AliyunDNSFullAccess permission.
44

5-
certbot_dns_aliyun:dns_aliyun_access_key = 12345678
6-
certbot_dns_aliyun:dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcdef
5+
dns_aliyun_access_key = 12345678
6+
dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcdef
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Instructions: https://github.com/domeneshop/certbot-dns-domeneshop#credentials
22
# Replace with your values
3-
certbot_dns_domeneshop:dns_domeneshop_client_token=1234567890abcdef
4-
certbot_dns_domeneshop:dns_domeneshop_client_secret=1234567890abcdefghijklmnopqrstuvxyz1234567890abcdefghijklmnopqrs
3+
dns_domeneshop_client_token=1234567890abcdef
4+
dns_domeneshop_client_secret=1234567890abcdefghijklmnopqrstuvxyz1234567890abcdefghijklmnopqrs

root/defaults/dns-conf/inwx.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Instructions: https://github.com/oGGy990/certbot-dns-inwx
22
# Replace with your values
3-
certbot_dns_inwx:dns_inwx_url = https://api.domrobot.com/xmlrpc/
4-
certbot_dns_inwx:dns_inwx_username = your_username
5-
certbot_dns_inwx:dns_inwx_password = your_password
6-
certbot_dns_inwx:dns_inwx_shared_secret = your_shared_secret optional
3+
dns_inwx_url = https://api.domrobot.com/xmlrpc/
4+
dns_inwx_username = your_username
5+
dns_inwx_password = your_password
6+
dns_inwx_shared_secret = your_shared_secret optional

root/defaults/dns-conf/transip.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# Convert the key to an RSA key (openssl rsa -in transip.key -out transip-rsa.key)
33
# Place .key-file in the same directory as this file. Location "/config/dns-conf" is from within the container
44

5-
certbot_dns_transip:dns_transip_username = <transip_username>
6-
certbot_dns_transip:dns_transip_key_file = /config/dns-conf/transip-rsa.key
5+
dns_transip_username = <transip_username>
6+
dns_transip_key_file = /config/dns-conf/transip-rsa.key

root/etc/cont-init.d/50-config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ else
185185
EMAILPARAM="--register-unsafely-without-email"
186186
fi
187187

188+
# update plugin names in dns conf inis
189+
sed -i 's|^certbot_dns_aliyun:||g' /defaults/dns-conf/aliyun.ini
190+
sed -i 's|^certbot_dns_domeneshop:||g' /defaults/dns-conf/domeneshop.ini
191+
sed -i 's|^certbot_dns_inwx:||g' /defaults/dns-conf/inwx.ini
192+
sed -i 's|^certbot_dns_transip:||g' /defaults/dns-conf/transip.ini
193+
188194
# setting the validation method to use
189195
if [ "$VALIDATION" = "dns" ]; then
190196
if [ "$DNSPLUGIN" = "route53" ]; then

0 commit comments

Comments
 (0)