mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Add csr.
This commit is contained in:
parent
2916ec896c
commit
540d55c4f8
2 changed files with 2 additions and 0 deletions
|
|
@ -215,6 +215,7 @@ class Client(object): # pylint: disable=too-many-instance-attributes
|
|||
order = messages.NewOrder(identifiers=identifiers)
|
||||
response = self.net.post(self.directory.new_order, order)
|
||||
order_response = self._order_resource_from_response(response)
|
||||
order_response.csr = csr
|
||||
return order_response
|
||||
|
||||
def request_challenges(self, identifier, new_authzr_uri=None):
|
||||
|
|
|
|||
|
|
@ -504,6 +504,7 @@ class OrderResource(ResourceWithURI):
|
|||
|
||||
"""
|
||||
body = jose.Field('body', decoder=Order.from_json)
|
||||
csr = jose.Field('csr', omitempty=True)
|
||||
authorizations = jose.Field('authorizations')
|
||||
fullchain_pem = jose.Field('fullchain_pem', omitempty=True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue