Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Adrien Dorsaz
acme-dns-tiny
Commits
0a683ebb
Commit
0a683ebb
authored
Apr 26, 2019
by
Vincent Gatine
Committed by
Adrien Dorsaz
May 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger: add forgotten string format
parent
66478531
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
acme_dns_tiny.py
acme_dns_tiny.py
+2
-2
No files found.
acme_dns_tiny.py
View file @
0a683ebb
...
...
@@ -257,14 +257,14 @@ def get_crt(config, log=LOGGER):
else
:
raise
ValueError
(
"Finalizing order {0} got errors: {1}"
.
format
(
domain
,
order
))
joseheaders
[
'Accept'
]
=
config
[
"acmednstiny"
].
get
(
"CertificateFormat"
,
'application/pem-certificate-chain'
)
http_response
,
result
=
_send_signed_request
(
order
[
"certificate"
],
""
)
if
http_response
.
status_code
!=
200
:
raise
ValueError
(
"Finalizing order {0} got errors: {1}"
.
format
(
http_response
.
status_code
,
result
))
if
'link'
in
http_response
.
headers
:
log
.
info
(
" - Certificate links given by server: {0}"
,
http_response
.
headers
[
'link'
])
log
.
info
(
" - Certificate links given by server: {0}"
.
format
(
http_response
.
headers
[
'link'
])
)
log
.
info
(
"Certificate signed and chain received: {0}"
.
format
(
order
[
"certificate"
]))
return
http_response
.
text
...
...
Write
Preview
Markdown
is supported
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