# Whether es.net.ssl.truststore.location can be setted as hdfs url

**URL:** https://discuss.elastic.co/t/whether-es-net-ssl-truststore-location-can-be-setted-as-hdfs-url/237407
**Category:** Elasticsearch
**Tags:** es-hadoop
**Created:** [June 17, 2020, 7:09am UTC](https://discuss.elastic.co/t/whether-es-net-ssl-truststore-location-can-be-setted-as-hdfs-url/237407 "2020-06-17T07:09:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ForgotLove](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@ForgotLove](https://discuss.elastic.co/u/ForgotLove)
#### Post date: [June 17, 2020, 7:09am UTC](https://discuss.elastic.co/t/whether-es-net-ssl-truststore-location-can-be-setted-as-hdfs-url/237407/1 "2020-06-17T07:09:52Z")

</div>

I have trustore.jks and keystore.jks generated and putted on hdfs.I set spark.es.net.ssl.truststore.location and spark.es.net.ssl.keystore.location with value hdfs://mycluster/keystore.jks.  
When i create an external es table on hive,i got a error from IOUtils. org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Expected to find keystore file.I want to know whether those configuration can be setted as hdfs url.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 15, 2020, 7:09am UTC](https://discuss.elastic.co/t/whether-es-net-ssl-truststore-location-can-be-setted-as-hdfs-url/237407/2 "2020-07-15T07:09:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
