Skip to content

Commit

Permalink
Rename PKIDeployer.request_cert() to issue_cert()
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Sep 19, 2024
1 parent 0d5138f commit 1b7fd92
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions base/server/python/pki/server/deployment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3508,9 +3508,9 @@ def setup_system_cert(self, nssdb, subsystem, tag, system_cert, request):

requestor = '%s-%s-%s' % (subsystem.type, hostname, secure_port)

logger.info('Requesting %s cert from %s', tag, ca_url)
logger.info('Issuing %s cert from %s', tag, ca_url)

cert_pem = self.request_cert(
cert_pem = self.issue_cert(
ca_url,
request.systemCert.requestType,
request.systemCert.request,
Expand Down Expand Up @@ -3654,7 +3654,7 @@ def setup_system_certs(self, nssdb, subsystem):

return system_certs

def request_cert(
def issue_cert(
self,
url,
request_type,
Expand Down Expand Up @@ -3989,7 +3989,7 @@ def setup_admin_cert(self, subsystem):
ca_port = subsystem.config['securitydomain.httpsadminport']
ca_url = 'https://%s:%s' % (ca_hostname, ca_port)

logger.info('Requesting admin cert from %s', ca_url)
logger.info('Issuing admin cert from %s', ca_url)

request_type = self.mdict['pki_admin_cert_request_type']

Expand All @@ -4002,7 +4002,7 @@ def setup_admin_cert(self, subsystem):

subject = self.mdict['pki_admin_subject_dn']

pem_cert = self.request_cert(
pem_cert = self.issue_cert(
ca_url,
request_type,
admin_csr,
Expand Down

0 comments on commit 1b7fd92

Please sign in to comment.