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

Add option for SSL cert algorithm in DuckDNS addon #2189

Merged
merged 5 commits into from
Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Apply suggestions from code review
  • Loading branch information
pvizeli committed Sep 27, 2021
commit dac5764aebe38f891456be7300f28678877eb7bd
2 changes: 1 addition & 1 deletion duckdns/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"accept_terms": "bool",
"certfile": "str",
"keyfile": "str",
"algo": "list(rsa|prime256v1|secp384r1)?"
"algo": "list(rsa|prime256v1|secp384r1)"
},
"ipv4": "str?",
"ipv6": "str?",
Expand Down
2 changes: 1 addition & 1 deletion duckdns/data/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if bashio::config.has_value "ipv6"; then IPV6=$(bashio::config 'ipv6'); else IPV
TOKEN=$(bashio::config 'token')
DOMAINS=$(bashio::config 'domains | join(",")')
WAIT_TIME=$(bashio::config 'seconds')
if bashio::config.has_value "lets_encrypt.algo"; then ALGO=$(bashio::config 'lets_encrypt.algo'); else ALGO="secp384r1"; fi
ALGO=$(bashio::config 'lets_encrypt.algo')

# Function that performe a renew
function le_renew() {
Expand Down