# Received fatal alert: certificate\_unknown

**URL:** <https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835>\
**Category:** Security\
**Created:** [November 9, 2019, 4:56pm UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835 "2019-11-09T16:56:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khoa](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@Khoa](https://forum.opensearch.org/u/Khoa)\
**Post date:** [November 9, 2019, 4:56pm UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835/1 "2019-11-09T16:56:27Z")

</div>

I tried to generate an admin certificate and config it to elasticsearch.yml already. But I always get this error while running securityadmin.sh

javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate\_unknown

Can anyone help with this? I’m setting up the stack from this article [Running Open Distro for Elasticsearch on Kubernetes | AWS Open Source Blog](https://aws.amazon.com/blogs/opensource/open-distro-for-elasticsearch-on-kubernetes/)

Thanks

---

<div class="post-metadata">

**Author:** ![sthomps](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/sthomps/32/362_2.png) [@sthomps](https://forum.opensearch.org/u/sthomps)\
**Post date:** [November 13, 2019, 12:27am UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835/2 "2019-11-13T00:27:33Z")

</div>

> [@Khoa](#):
>
> securityadmin.sh

I just ran into the same thing. My cluster was starting fine a few weeks ago with no errors in the logs.

Came back to stop/start the cluster today and saw the same error in the logs.

If I come across anything I’ll report back.

---

<div class="post-metadata">

**Author:** ![sthomps](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/sthomps/32/362_2.png) [@sthomps](https://forum.opensearch.org/u/sthomps)\
**Post date:** [November 13, 2019, 1:38am UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835/3 "2019-11-13T01:38:23Z")

</div>

So it appears, at least for my issue, I had several other instances that were running that weren’t configured correctly for their certs.

I thought I had all of them shut down but one but apparently our server admin group restart one or more of them and they were trying to connect to this server.

---

<div class="post-metadata">

**Author:** ![Khoa](https://avatars.discourse-cdn.com/v4/letter/k/eb9ed0/32.png) [@Khoa](https://forum.opensearch.org/u/Khoa)\
**Post date:** [November 20, 2019, 6:24am UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835/4 "2019-11-20T06:24:39Z")

</div>

thank @sthomps

I gone through this issue by using kirk certifications

---

<div class="post-metadata">

**Author:** ![coderzzzz](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@coderzzzz](https://forum.opensearch.org/u/coderzzzz)\
**Post date:** [October 19, 2021, 9:29pm UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835/5 "2021-10-19T21:29:21Z")

</div>

I am getting the same issue when I try to run OpenSearch server, @Khoa isn’t the kirk certificates by default in the OS demo configuration?

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [October 19, 2021, 9:50pm UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835/6 "2021-10-19T21:50:24Z")

</div>

@coderzzzz

Could you open a new thread and describe your issue in the details?  
Also, would you mind sharing your elasticsearch/OpenSearch config files?

What OS or ODFE version are you running? Is it a new cluster or you were replacing existing certs with new ones.

---

<div class="post-metadata">

**Author:** ![coderzzzz](https://avatars.discourse-cdn.com/v4/letter/c/ea5d25/32.png) [@coderzzzz](https://forum.opensearch.org/u/coderzzzz)\
**Post date:** [October 19, 2021, 10:02pm UTC](https://forum.opensearch.org/t/received-fatal-alert-certificate-unknown/1835/7 "2021-10-19T22:02:15Z")

</div>

@pablo yes, I will share the config files. OS version is 1.0.1 and yes its a new cluster configuration where I am simply using demo configuration but I am calling the shell scripts from java code
