Description of problem: ovirt-engine-extension-aaa-ldap-setup results in the following error when using a CA certificate during setup [ ERROR ] Failed to execute stage 'Environment customization': a bytes-like object is required, not 'str' Version-Release number of selected component (if applicable): rhvm-4.4.1.10-0.1.el8ev.noarch ovirt-engine-extension-aaa-ldap-1.4.0-1.el8ev.noarch ovirt-engine-extension-aaa-ldap-setup-1.4.0-1.el8ev.noarch How reproducible: Always Actual results: [ ERROR ] Failed to execute stage 'Environment customization': a bytes-like object is required, not 'str' Expected results: Should succeed in converting the .pem file to a jks file
The easiest workaround is to use Insecure option, where we are not importing CA certificate.
(In reply to Martin Perina from comment #2) > The easiest workaround is to use Insecure option, where we are not importing > CA certificate. Thanks Martin. This is what we have recommended one of the Customers to do. the other 2 are new cases and we will do provide them with the same workaround until the bug is patched.
Verified with ovirt-engine-extension-aaa-ldap-1.4.2-1.el8ev.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 (Low: Red Hat Virtualization security, bug fix, and enhancement update), 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/RHSA-2020:5179