[
https://issues.apache.org/jira/browse/HIVE-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050663#comment-14050663
]
Suhas Satish commented on HIVE-5351:
------------------------------------
I have used the 3 properties above and started my hiveserver2 which is now
using ssl.
But how do I connect to it from beeline client? There doesnt seem to be any
information about it.
I am trying to use something like this -
!connect
jdbc:hive2://127.0.0.1:10000/default;ssl=true;sslTrustStore=/opt/mapr/conf/ssl_truststore;
but when it prompts for username and password, it fails to connect even after I
enter the correct ssl_truststore password.
Enter username for
jdbc:hive2://10.10.30.181:10000/default;ssl=true;sslTrustStore=/opt/mapr/conf/ssl_truststore;sslTrustStorePassword=mapr123:
mapr
Enter password for
jdbc:hive2://10.10.30.181:10000/default;ssl=true;sslTrustStore=/opt/mapr/conf/ssl_truststore;sslTrustStorePassword=mapr123:
****
Error: Invalid URL:
jdbc:hive2://10.10.30.181:10000/default;ssl=true;sslTrustStore=/opt/mapr/conf/ssl_truststore;sslTrustStorePassword=mapr123
(state=08S01,code=0)
Is my jdbc connect string the right way to connect?
> Secure-Socket-Layer (SSL) support for HiveServer2
> -------------------------------------------------
>
> Key: HIVE-5351
> URL: https://issues.apache.org/jira/browse/HIVE-5351
> Project: Hive
> Issue Type: Improvement
> Components: Authorization, HiveServer2, JDBC
> Affects Versions: 0.11.0, 0.12.0
> Reporter: Prasad Mujumdar
> Assignee: Prasad Mujumdar
> Fix For: 0.13.0
>
> Attachments: HIVE-5301.test-binary-files.tar, HIVE-5351.3.patch,
> HIVE-5351.5.patch
>
>
> HiveServer2 and JDBC driver should support encrypted communication using SSL
--
This message was sent by Atlassian JIRA
(v6.2#6252)