Skip to content

Commit

Permalink
Get cert from nssdb for all subsystems
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarco76 committed Oct 9, 2023
1 parent dc5e987 commit 6a3206e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions base/server/python/pki/server/deployment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3964,8 +3964,9 @@ def add_kra_connector(self, subsystem, ca_url):
kra_url = 'https://%s:%s/kra/agent/kra/connector' % (hostname, securePort)

subsystem_cert = subsystem.get_subsystem_cert('subsystem').get('data')
transport_cert = subsystem.config.get('kra.transport.cert')
transport_nickname = subsystem.config.get('kra.cert.transport.nickname')
transport_cert_info = subsystem.get_subsystem_cert('transport')
transport_cert = transport_cert_info.get('data')
transport_nickname = transport_cert_info.get('nickname')

tmpdir = tempfile.mkdtemp()
try:
Expand Down

0 comments on commit 6a3206e

Please sign in to comment.