无法从网络连接配置单元

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

我有一个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”。
配置单元配置:

<property>
  <name>hive.server2.use.SSL</name>
  <value>true</value>
  <description>enable/disable SSL </description>
</property>

<property>
  <name>hive.server2.keystore.path</name>
  <value>/opt/cloudera/security/jks/cmhost-keystore.jks</value>
  <description>keystore-file-path</description>
</property>

<property>
  <name>hive.server2.keystore.password</name>
  <value>xyz</value>
  <description>keystore password</description>
</property>

色调配置:


# SSL communication enabled for this server.

enabled=true

# Path to Certificate Authority certificates.

cacerts=/etc/hue/cmhost.pem

# Path to the private key file.

## key=/etc/hue/key.pem

# Path to the public certificate file.

## cert=/etc/hue/cert.pem

# Choose whether Hue should validate certificates received from the   server.

validate=true

暂无答案!

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

相关问题