无法从网络连接配置单元

hfyxw5xn  于 2021-06-27  发布在  Hive
关注(0)|答案(0)|浏览(417)

我有一个cloudera设置,在其中我为配置单元启用了ssl,还启用了hue.ini conf文件中与hiveserver2的hue tls/ssl通信。
更改完成后,尝试从hue连接到配置单元,将显示以下错误“certificate error with remote host:hostname'quickstart.cloudera'does not match u'cm01.example.com”。
配置单元配置:

  1. <property>
  2. <name>hive.server2.use.SSL</name>
  3. <value>true</value>
  4. <description>enable/disable SSL </description>
  5. </property>
  6. <property>
  7. <name>hive.server2.keystore.path</name>
  8. <value>/opt/cloudera/security/jks/cmhost-keystore.jks</value>
  9. <description>keystore-file-path</description>
  10. </property>
  11. <property>
  12. <name>hive.server2.keystore.password</name>
  13. <value>xyz</value>
  14. <description>keystore password</description>
  15. </property>

色调配置:

  1. # SSL communication enabled for this server.
  2. enabled=true
  3. # Path to Certificate Authority certificates.
  4. cacerts=/etc/hue/cmhost.pem
  5. # Path to the private key file.
  6. ## key=/etc/hue/key.pem
  7. # Path to the public certificate file.
  8. ## cert=/etc/hue/cert.pem
  9. # Choose whether Hue should validate certificates received from the server.
  10. validate=true

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题