# Snapshot on S3 with self signed certificate

**URL:** https://discuss.elastic.co/t/snapshot-on-s3-with-self-signed-certificate/153407
**Category:** Elasticsearch
**Created:** [October 22, 2018, 1:45pm UTC](https://discuss.elastic.co/t/snapshot-on-s3-with-self-signed-certificate/153407 "2018-10-22T13:45:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![phr0gz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phr0gz/32/9454_2.png) [@phr0gz](https://discuss.elastic.co/u/phr0gz)
#### Post date: [October 22, 2018, 1:45pm UTC](https://discuss.elastic.co/t/snapshot-on-s3-with-self-signed-certificate/153407/1 "2018-10-22T13:45:14Z")

</div>

Hello, we are trying to test the backup on S3 compatible device, and as mentioned [here](https://github.com/elastic/elasticsearch/issues/26604) it seems to be supported.

We have an issue concerning the certificate verification...is there a way to bypass that e.g. for lab testing?  
If not we will have to:  
1/ Import the certificate on the java cacerts like that:  
keytool -trustcacerts -keystore $JAVA\_HOME/jre/lib/security/cacerts -storepass changeit -noprompt -importcert -alias s3-testcert -file my-self-signed-cert.cert  
2/ Restart the servers.

Is that correct?

Best,

L.

---

<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: [November 19, 2018, 1:51pm UTC](https://discuss.elastic.co/t/snapshot-on-s3-with-self-signed-certificate/153407/2 "2018-11-19T13:51:09Z")

</div>

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