# Elasticdump doesn't work on https self signed certificate links

**URL:** https://discuss.elastic.co/t/elasticdump-doesnt-work-on-https-self-signed-certificate-links/266049
**Category:** Elasticsearch
**Created:** [March 3, 2021, 5:22am UTC](https://discuss.elastic.co/t/elasticdump-doesnt-work-on-https-self-signed-certificate-links/266049 "2021-03-03T05:22:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)
#### Post date: [March 3, 2021, 5:22am UTC](https://discuss.elastic.co/t/elasticdump-doesnt-work-on-https-self-signed-certificate-links/266049/1 "2021-03-03T05:22:48Z")

</div>

Hi all,

I'm trying to import an index data using elasticdump tool from an elasticsearch server which has self signed certificates.

```auto
NODE_TLS_REJECT_UNAUTHORIZED=0 elasticdump \
--input=https://elastic: ************ @mysecureserver.link.com:9200/test-index \
--output=/Users/apple/Downloads/Elasticdump/test-index.json \
--type=data

```

I'm unable to import any data to my local system  
It says starting dump, but is unable to complete operation.

Any turnaround for this?

Thanks in Advance.

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [March 3, 2021, 6:06am UTC](https://discuss.elastic.co/t/elasticdump-doesnt-work-on-https-self-signed-certificate-links/266049/2 "2021-03-03T06:06:34Z")

</div>

Hi @Sandeep_Raju

We are not really elastidump experts but [looking at the docs](https://www.npmjs.com/package/elasticdump) here looks like there are options for self signed certs.

```
--cert, --input-cert, --output-cert
                    Client certificate file. Use --cert if source and destination are identical.
                    Otherwise, use the one prefixed with --input or --output as needed.
--key, --input-key, --output-key
                    Private key file. Use --key if source and destination are identical.
                    Otherwise, use the one prefixed with --input or --output as needed.
--pass, --input-pass, --output-pass
                    Pass phrase for the private key. Use --pass if source and destination are identical.
                    Otherwise, use the one prefixed with --input or --output as needed.
--ca, --input-ca, --output-ca
                    CA certificate. Use --ca if source and destination are identical.
                    Otherwise, use the one prefixed with --input or --output as needed.
```

---

<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: [March 31, 2021, 6:07am UTC](https://discuss.elastic.co/t/elasticdump-doesnt-work-on-https-self-signed-certificate-links/266049/3 "2021-03-31T06:07:22Z")

</div>

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