Created 03-16-2017 06:18 PM
Hi ,
As per the link : https://docs.hortonworks.com/HDPDocuments/HDP2/HDP2.3.2/bk_dataintegration/content/enabling_hs2_for_...
truststore are imported into cacerts , as per the below command :
keytool -import -trustcacerts -alias <MyHiveLdaps> -storepass <password> -noprompt -file <myCert>.pem -keystore ${JAVA_HOME}/jre/lib/security/cacerts
When we are connecting to hive beeline using below command , does it accept truststore without .jks extensions?
jdbc:hive2://<host>:<port>/<database>;ssl=true;sslTrustStore=<path-to-truststore>;trustStorePassword=<password>
Thanks
JJ
Created 09-29-2021 11:34 PM
If you are using the Java truststore it does not have any file extension name like (jks or pem). So it does not require any extension.
You need to make sure that it is having the right set of permission to access the truststore.
Created 03-17-2017 12:20 AM
Yes, the extension on the filename should not matter as long as you are using the correct file path.
Created 09-29-2021 11:34 PM
If you are using the Java truststore it does not have any file extension name like (jks or pem). So it does not require any extension.
You need to make sure that it is having the right set of permission to access the truststore.