Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update certificates #39

Merged
merged 1 commit into from
Dec 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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