mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Correct the Content-Type used in the POST-as-GET request to retrieve a cert (#6757)
This commit is contained in:
parent
66c9767623
commit
a0a8292ff2
1 changed files with 1 additions and 2 deletions
|
|
@ -739,8 +739,7 @@ class ClientV2(ClientBase):
|
|||
if body.error is not None:
|
||||
raise errors.IssuanceError(body.error)
|
||||
if body.certificate is not None:
|
||||
certificate_response = self._post_as_get(body.certificate,
|
||||
content_type=DER_CONTENT_TYPE).text
|
||||
certificate_response = self._post_as_get(body.certificate).text
|
||||
return orderr.update(body=body, fullchain_pem=certificate_response)
|
||||
raise errors.TimeoutError()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue