# Not able to create S3 Repo

**URL:** <https://discuss.elastic.co/t/not-able-to-create-s3-repo/145677>\
**Category:** Elasticsearch\
**Created:** [August 23, 2018, 8:21am UTC](https://discuss.elastic.co/t/not-able-to-create-s3-repo/145677 "2018-08-23T08:21:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreejiths](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@sreejiths](https://discuss.elastic.co/u/sreejiths)\
**Post date:** [August 23, 2018, 8:21am UTC](https://discuss.elastic.co/t/not-able-to-create-s3-repo/145677/1 "2018-08-23T08:21:26Z")

</div>

Hi

We are running Elasticsearch cluster running on V5.6.8 . I am trying to created REPO on On-Premise Object Stores (IBM Cleversafe) and i am getting below error .

I have installed repository-s3 plugin in all elasticsearch cluster noded & run below commands and getting error as below ..Please advice

PUT \_snapshot/my\_s3\_repository  
{  
"type": "s3",  
"settings": {  
"bucket": "XXXX",  
"access\_key": "XXXXX",  
"secret\_key": "XXXXXX",  
"endpoint": "XXXXX" ,  
"port":"https"  
}  
}

Error :  
{  
"error": {  
"root\_cause": [  
{  
"type": "sdk\_client\_exception",  
"reason": "sdk\_client\_exception: Unable to execute HTTP request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"  
}  
],  
"type": "repository\_exception",  
"reason": "[my\_s3\_repository] failed to create repository",  
"caused\_by": {  
"type": "sdk\_client\_exception",  
"reason": "sdk\_client\_exception: Unable to execute HTTP request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",  
"caused\_by": {  
"type": "i\_o\_exception",  
"reason": "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",  
"caused\_by": {  
"type": "validator\_exception",  
"reason": "validator\_exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",  
"caused\_by": {  
"type": "sun\_cert\_path\_builder\_exception",  
"reason": "sun\_cert\_path\_builder\_exception: unable to find valid certification path to requested target"  
}  
}  
}  
}  
},  
"status": 500  
}

---

<div class="post-metadata">

**Author:** ![sreejiths](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@sreejiths](https://discuss.elastic.co/u/sreejiths)\
**Post date:** [August 23, 2018, 9:24am UTC](https://discuss.elastic.co/t/not-able-to-create-s3-repo/145677/2 "2018-08-23T09:24:07Z")

</div>

Issue fixed after updating CA cert on the nodes ..

Thanks

---

<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:** [September 20, 2018, 9:24am UTC](https://discuss.elastic.co/t/not-able-to-create-s3-repo/145677/3 "2018-09-20T09:24:23Z")

</div>

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