- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
what extension should keystore and truststore files should have?
- Labels:
-
Apache Hive
Created ‎03-16-2017 06:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
