freeipa/ipalib
Rob Crittenden 01bfe2247e If the cafile is not present or readable then raise an exception
This can happen on the API level if a user passes in None as
cafile or if the value passed in does not exist or is not
readable by the IPA framework user.

This will also catch situations where /etc/ipa/ca.crt has
incorrect permissions and will provide more useful information
than just [Errno 13] Permission denied.

https://pagure.io/freeipa/issue/7145

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
2017-12-04 10:29:19 -05:00
..
install Prevent installation with single label domains 2017-11-09 11:32:31 +01:00
__init__.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
aci.py pylint: disable __hash__ for some classes 2017-09-08 15:42:07 +02:00
backend.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
base.py Modernize use of range() 2015-09-01 11:42:01 +02:00
capabilities.py Replace LooseVersion 2016-11-24 15:46:40 +01:00
cli.py View plugin/command help in pager 2017-11-16 19:52:54 +02:00
config.py Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
constants.py Increase dbus client timeouts during CA install 2017-10-18 17:55:25 +02:00
crud.py ipalib, ipaserver: fix incorrect API.register calls in docstrings 2016-05-25 16:06:26 +02:00
dns.py dns: do not rely on custom param fields in record attributes 2016-06-20 16:39:12 +02:00
errors.py Require UTF-8 fs encoding 2017-11-21 16:13:28 +01:00
frontend.py ipalib/frontend.py output_for_cli loops optimization 2017-11-23 19:18:43 +01:00
krb_utils.py Allow login to WebUI using Kerberos aliases/enterprise principals 2017-03-08 15:56:11 +01:00
Makefile.am Build: Makefiles for Python packages 2016-11-09 13:08:32 +01:00
messages.py Remove the message attribute from exceptions 2017-10-06 09:19:46 +02:00
misc.py Add fix for ipa plugins command 2017-02-17 10:22:07 +01:00
output.py allow 'value' output param in commands without primary key 2016-07-20 13:57:01 +02:00
parameters.py Remove pkcs10 module contents 2017-10-25 09:46:41 +02:00
pkcs10.py Remove pkcs10 module contents 2017-10-25 09:46:41 +02:00
plugable.py Require UTF-8 fs encoding 2017-11-21 16:13:28 +01:00
request.py remove trailing newlines form python modules 2016-10-12 10:38:52 +02:00
rpc.py Use the CA chain file from the RPC context 2017-12-04 10:29:19 -05:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
text.py pylint: disable __hash__ for some classes 2017-09-08 15:42:07 +02:00
util.py If the cafile is not present or readable then raise an exception 2017-12-04 10:29:19 -05:00
x509.py x509: remove subject_base() function 2017-11-01 07:55:04 +01:00