Skip to content

Commit

Permalink
Merge pull request #39 from troykelly/38-remove-validation-until-can-…
Browse files Browse the repository at this point in the history
…be-fixed

Update certificates
  • Loading branch information
troykelly authored Dec 17, 2023
2 parents c8b38ba + fbcdf27 commit afeef0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions letslexicon/rootfs/usr/bin/certificates
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,8 @@ refresh_certificates() {
fi

# Validate the DNS provider's configuration
validate_dns_provider_config
# TODO: Fix this and restore it
#validate_dns_provider_config

#Create a config
mkdir -p /etc/dehydrated
Expand Down Expand Up @@ -1308,7 +1309,7 @@ refresh_certificates() {

printf "# END Home Assistant Domains\n" >>"$cert_dir"/domains.txt

bashio::log.info "Requesting domains from LetsEncrypt"
bashio::log.info "Requesting domains from LetsEncrypt with provider ${dns_provider}"
cat "$cert_dir"/domains.txt

PROVIDER=${dns_provider} /opt/dehydrated/dehydrated --challenge dns-01 --out /ssl --keep-going --cron --hook /opt/dehydrated/dehydrated.default.sh
Expand Down

0 comments on commit afeef0f

Please sign in to comment.