Skip to content

Commit

Permalink
Add current LE TOS hash to simp_le calls
Browse files Browse the repository at this point in the history
Ref #73 .

Workaround until kuba/simp_le is updated to ensure new account keys can
be requested
  • Loading branch information
sseemayer committed Aug 2, 2016
1 parent 9e1bdcd commit f541f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ letsencrypt_configure_and_get_dir() {
domain_args="$domain_args -d $domain"
done

local config="--server $server --email $DOKKU_LETSENCRYPT_EMAIL $domain_args"
local config="--server $server --email $DOKKU_LETSENCRYPT_EMAIL --tos_sha256 6373439b9f29d67a5cd4d18cbc7f264809342dbf21cb2ba2fc7588df987a6221 $domain_args"

local config_hash=$(echo "$config" | sha1sum | awk '{print $1}')
local config_dir="$le_root/certs/$config_hash"; mkdir -p "$config_dir"
Expand Down

0 comments on commit f541f1e

Please sign in to comment.