Details
Description
We're getting following stack trace with ssl configured. Debugging the issue, desktop.conf.get_ssl_password returns unicode instead of str. pyOpenSSL requires str for the ssl_password.
SSL key and certificate could not be found or have a problem Traceback (most recent call last): File "/opt/cloudera/parcels/CDH-7.0.2-1.cdh7.0.2.p0.1497896/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 1714, in _bind ctx.use_privatekey_file(self.ssl_private_key) File "/opt/cloudera/parcels/CDH-7.0.2-1.cdh7.0.2.p0.1497896/lib/hue/build/env/lib/python2.7/site-packages/pyOpenSSL-17.5.0-py2.7.egg/OpenSSL/SSL.py", line 965, in use_privatekey_file self._raise_passphrase_exception() File "/opt/cloudera/parcels/CDH-7.0.2-1.cdh7.0.2.p0.1497896/lib/hue/build/env/lib/python2.7/site-packages/pyOpenSSL-17.5.0-py2.7.egg/OpenSSL/SSL.py", line 942, in _raise_passphrase_exception self._passphrase_helper.raise_if_problem(Error) File "/opt/cloudera/parcels/CDH-7.0.2-1.cdh7.0.2.p0.1497896/lib/hue/build/env/lib/python2.7/site-packages/pyOpenSSL-17.5.0-py2.7.egg/OpenSSL/crypto.py", line 2709, in raise_if_problem raise self._problems.pop(0) ValueError: String expected
Attachments
Issue Links
- relates to
-
HUE-8737 [core] Initial python 3 support
- Closed