Skip to content

Commit

Permalink
letsencrypt: add check for TransIP global_key
Browse files Browse the repository at this point in the history
* as per comment #3855 (comment)
* fixes #3876

Co-authored-by: Goopher <goopher@live.nl>
  • Loading branch information
GoetzGoerisch and Goopher committed Feb 23, 2025
1 parent c214226 commit cd95154
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion letsencrypt/rootfs/etc/services.d/lets-encrypt/run
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,11 @@ elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-simply" ]; then

# TransIP
elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-transip" ]; then
bashio::config.require.username 'dns.transip_username'
bashio::config.require 'dns.transip_username'
bashio::config.require 'dns.transip_api_key'
if bashio::config.has_value 'dns.transip_global_key'; then
dns.transip_global_key=$(bashio::config 'dns.transip_global_key')
fi
if (( PROPAGATION_SECONDS < 240 )); then
bashio::log.info "Increasing DNS propagation limit for TransIP to at least 240 seconds."
PROPAGATION_SECONDS=240
Expand Down

0 comments on commit cd95154

Please sign in to comment.