diff options
author | Tomas Babej <tbabej@redhat.com> | 2013-09-24 10:54:57 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-11-20 13:15:38 +0100 |
commit | 4a0e91449e2b65304ae8d660d1a480200b1a13d3 (patch) | |
tree | 16ced8dc1828b3a429abafb8d2f143e37af7cd07 /ipapython/services.py.in | |
parent | 60b472479d6427243b5ef51c4dd60cdcd9e52afd (diff) | |
download | freeipa.git-4a0e91449e2b65304ae8d660d1a480200b1a13d3.tar.gz freeipa.git-4a0e91449e2b65304ae8d660d1a480200b1a13d3.tar.xz freeipa.git-4a0e91449e2b65304ae8d660d1a480200b1a13d3.zip |
ipa-client-install: Publish CA certificate to systemwide store
During the installation, copy the CA certificate to the systemwide
store (/etc/pki/ca-trust/source/anchors/ipa-ca.crt) and update the
systemwide CA database.
This allows browsers to access IPA WebUI without warning out of the
box.
https://fedorahosted.org/freeipa/ticket/3504
Diffstat (limited to 'ipapython/services.py.in')
-rw-r--r-- | ipapython/services.py.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ipapython/services.py.in b/ipapython/services.py.in index 16b62ca8..d648ad5b 100644 --- a/ipapython/services.py.in +++ b/ipapython/services.py.in @@ -21,7 +21,7 @@ authconfig = None # knownservices is an entry point to known platform services -# (instance of ipapython.platform.base.KnownServices) +# (instance of ipapython.platform.base.KnownServices) knownservices = None # service is a class to instantiate ipapython.platform.base.PlatformService @@ -55,4 +55,13 @@ from ipapython.platform.base import SVC_LIST_FILE def get_svc_list_file(): return SVC_LIST_FILE +def insert_ca_cert_into_systemwide_ca_store_default(path): + return True + +def remove_ca_cert_from_systemwide_ca_store_default(path): + return True + +insert_ca_cert_into_systemwide_ca_store = insert_ca_cert_into_systemwide_ca_store_default +remove_ca_cert_from_systemwide_ca_store = remove_ca_cert_from_systemwide_ca_store_default + from ipapython.platform.SUPPORTED_PLATFORM import * |