This commit is contained in:
Hossein Shafagh 2020-10-27 16:13:05 -07:00 committed by GitHub
parent 437933c558
commit c6a8034890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -123,9 +123,9 @@ def handle_response(my_response):
@retry(stop_max_attempt_number=3, wait_fixed=5000)
def get_certificate_order(session, url, data):
def order_and_download_certificate(session, url, data):
"""
Helper function place a cert order and downloading it
Helper function to place a certificacte order and download it
:param session:
:param url: Entrust endpoint url
:param data: CSR, and the required order details, such as validity length
@ -197,7 +197,7 @@ class EntrustIssuerPlugin(IssuerPlugin):
data = process_options(issuer_options)
data["csr"] = csr
response_dict = get_certificate_order(self.session, url, data)
response_dict = order_and_download_certificate(self.session, url, data)
external_id = response_dict['trackingId']
cert = response_dict['endEntityCert']