Skip to content

Commit

Permalink
[WIP] Fix Let's Encrypt Namecheap support
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Mar 28, 2021
1 parent 7301347 commit 43270d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion letsencrypt/rootfs/etc/services.d/lets-encrypt/run
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-njalla" ]; then
bashio::config.require 'dns.njalla_token'
PROVIDER_ARGUMENTS+=("--authenticator" "certbot-dns-njalla:dns-njalla" "--certbot-dns-njalla:dns-njalla-credentials" /data/dnsapikey "--certbot-dns-njalla:dns-njalla-propagation-seconds" "${PROPAGATION_SECONDS}")

# Namecheap
elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-namecheap" ]; then
bashio::config.require 'dns.namecheap_username'
bashio::config.require 'dns.namecheap_api_key'
PROVIDER_ARGUMENTS+=("--authenticator" "certbot-dns-namecheap:dns-namecheap" "--certbot_dns_namecheap:dns-namecheap-credentials " /data/dnsapikey "--certbot-dns-namecheap:dns-namecheap-propagation-seconds" "${PROPAGATION_SECONDS}")
PROVIDER_ARGUMENTS+=("--authenticator" "certbot-dns-namecheap:dns-namecheap" "--certbot-dns-namecheap:dns-namecheap-credentials " /data/dnsapikey "--certbot-dns-namecheap:dns-namecheap-propagation-seconds" "${PROPAGATION_SECONDS}")

#All others
else
Expand Down

0 comments on commit 43270d4

Please sign in to comment.