Support Questions
Find answers, ask questions, and share your expertise

what is Hive sslTrustStore?

what is Hive sslTrustStore?

Super Guru

for hive jdbc ssl connection I need path to sslTrustStore. What is that? It is simply the CA Cert?

1 REPLY 1

Re: what is Hive sslTrustStore?

No. Import the CA Cert

keytool -importcert -trustcacerts -file <path to cert>.pem -storepass changeit -noprompt -alias hiveserver2 -keystore /usr/hdp/current/hive<path to store>.jks

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Security_Guide/content/ch_wire-hiveserve... If it is self signed, generate one:

keytool -genkey -alias hiveserver2 -keyalg RSA -keysize 1024 -keystore hive.jks