Can you attach the Hue log? (You can find that in CM -> Hue -> Hue Server
-> Log file. Or in /var/log/hue.)
On Wed, Sep 11, 2013 at 6:52 PM, 李黎 wrote:
Hi,
I want to enable HTTPS for the Hue web server.
I do it by following steps:
1. easy_install pyOpenSSL
#
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
pyOpenSSL
Searching for pyOpenSSL
Best match: pyOpenSSL 0.13
Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
pyOpenSSL 0.13 is already the active version in easy-install.pth
Using
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
Processing dependencies for pyOpenSSL
Finished processing dependencies for pyOpenSSL
2. make SSL private key
# openssl genrsa 1024 > /root/cm.key
Generating RSA private key, 1024 bit long modulus
.........................++++++
.....++++++
e is 65537 (0x10001)
3. make SSL certificate
# openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert
4. set Hue server with cloudera manager
[image: 埋め込み画像 1]
5. save and restart the Hue server
6. access Hue Web UI
I got the error messages as following
[image: 埋め込み画像 2]
7. check the /var/log/messages
Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception
I am using the lasted cloudera stardand version 4.7.1.
Please advice me where was wrong.
Thanks,
LiLi
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].Hi,
I want to enable HTTPS for the Hue web server.
I do it by following steps:
1. easy_install pyOpenSSL
#
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/bin/easy_install
pyOpenSSL
Searching for pyOpenSSL
Best match: pyOpenSSL 0.13
Processing pyOpenSSL-0.13-py2.6-linux-x86_64.egg
pyOpenSSL 0.13 is already the active version in easy-install.pth
Using
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/share/hue/build/env/lib/python2.6/site-packages/pyOpenSSL-0.13-py2.6-linux-x86_64.egg
Processing dependencies for pyOpenSSL
Finished processing dependencies for pyOpenSSL
2. make SSL private key
# openssl genrsa 1024 > /root/cm.key
Generating RSA private key, 1024 bit long modulus
.........................++++++
.....++++++
e is 65537 (0x10001)
3. make SSL certificate
# openssl req -new -x509 -nodes -sha1 -key /root/cm.key >/root/cm.cert
4. set Hue server with cloudera manager
[image: 埋め込み画像 1]
5. save and restart the Hue server
6. access Hue Web UI
I got the error messages as following
[image: 埋め込み画像 2]
7. check the /var/log/messages
Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:38 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:39 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:40 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:41 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:42 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:43 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:44 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:42:45 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:54 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:55 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:56 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:57 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:58 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:44:59 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:00 dhcp149216 abrt: detected unhandled Python exception
Sep 11 15:45:01 dhcp149216 abrt: detected unhandled Python exception
I am using the lasted cloudera stardand version 4.7.1.
Please advice me where was wrong.
Thanks,
LiLi
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].