mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Use https to get security domain from Dogtag
Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
parent
11c9df2577
commit
d1c5d92897
@ -47,7 +47,11 @@ def get_security_domain():
|
|||||||
Get the security domain from the REST interface on the local Dogtag CA
|
Get the security domain from the REST interface on the local Dogtag CA
|
||||||
This function will succeed if the local dogtag CA is up.
|
This function will succeed if the local dogtag CA is up.
|
||||||
"""
|
"""
|
||||||
connection = PKIConnection()
|
connection = PKIConnection(
|
||||||
|
protocol='https',
|
||||||
|
hostname=api.env.ca_host,
|
||||||
|
port='8443'
|
||||||
|
)
|
||||||
domain_client = pki.system.SecurityDomainClient(connection)
|
domain_client = pki.system.SecurityDomainClient(connection)
|
||||||
info = domain_client.get_security_domain_info()
|
info = domain_client.get_security_domain_info()
|
||||||
return info
|
return info
|
||||||
|
Loading…
Reference in New Issue
Block a user