Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adrien Dorsaz
acme-dns-tiny
Commits
d9763075
Commit
d9763075
authored
Jun 14, 2020
by
Adrien Dorsaz
Browse files
acme_dns_tiny: to validate the challenge, payload must be empty
parent
a7d50ce8
Pipeline
#275
passed with stages
in 23 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
acme_dns_tiny.py
View file @
d9763075
...
...
@@ -260,8 +260,7 @@ def get_crt(config, log=LOGGER):
time
.
sleep
(
config
[
"DNS"
].
getint
(
"TTL"
))
log
.
info
(
"Asking ACME server to validate challenge."
)
http_response
,
result
=
_send_signed_request
(
challenge
[
"url"
],
{
"keyAuthorization"
:
keyauthorization
})
http_response
,
result
=
_send_signed_request
(
challenge
[
"url"
],
{})
if
http_response
.
status_code
!=
200
:
raise
ValueError
(
"Error triggering challenge: {0} {1}"
.
format
(
http_response
.
status_code
,
result
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment