Description of problem: When the provided certificate chain contains some non utf-8 characters, the setup fails. The characters can get the CA file with comments like "# Certinomis - Autorité Racine" Version-Release number of selected component (if applicable): ovirt-engine-extension-aaa-ldap-setup-1.3.7-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Provide a CAFiles containing comments encoded in non utf-8. For exmaple "# Certinomis - Autorité Racine" Actual results: 2018-08-14 07:29:31 DEBUG otopi.context context._executeMethod:142 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod method['method']() File "/usr/share/ovirt-engine-extension-aaa-ldap/setup/bin/../plugins/ovirt-engine-extension-aaa-ldap/ ldap/config.py", line 271, in _customization constants.LDAPEnv.CACERT File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 909, in execute if stdin is not None else None UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 53557: ordinal not in range(128) Expected results: The file is processed
Verified on ovirt-engine-extension-aaa-ldap-setup-1.3.9-1.el7ev.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:1072