# I have added SSL certificate ti single node cluster and I'm ended up with this error?

**URL:** <https://discuss.elastic.co/t/i-have-added-ssl-certificate-ti-single-node-cluster-and-im-ended-up-with-this-error/230823>\
**Category:** Elasticsearch\
**Created:** [May 2, 2020, 6:09pm UTC](https://discuss.elastic.co/t/i-have-added-ssl-certificate-ti-single-node-cluster-and-im-ended-up-with-this-error/230823 "2020-05-02T18:09:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [May 2, 2020, 6:09pm UTC](https://discuss.elastic.co/t/i-have-added-ssl-certificate-ti-single-node-cluster-and-im-ended-up-with-this-error/230823/1 "2020-05-02T18:09:57Z")

</div>

I have successfully installed SSL certificate and restarted the elasticsearch instance. Then while I'm running this query

` curl -k http://localhost:9200?pretty -u elastic`  
I'm getting this error  
` curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number`

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [May 2, 2020, 7:35pm UTC](https://discuss.elastic.co/t/i-have-added-ssl-certificate-ti-single-node-cluster-and-im-ended-up-with-this-error/230823/2 "2020-05-02T19:35:06Z")

</div>

Hi Kartheek,  
First please try [https://localhost:9200](https://localhost:9200) and add the -v parameter to the curl command and post the output.  
Also you can check the ssl-cert with the following command:

> openssl x509 -in certificate.crt -text -noout

Regards,  
Simon

---

<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:** [May 30, 2020, 7:35pm UTC](https://discuss.elastic.co/t/i-have-added-ssl-certificate-ti-single-node-cluster-and-im-ended-up-with-this-error/230823/3 "2020-05-30T19:35:06Z")

</div>

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