# Receiving SSLHandShakeException: certificate\_unkown

**URL:** <https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353>\
**Category:** Security\
**Created:** [October 19, 2021, 10:08pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353 "2021-10-19T22:08:17Z")\
**Posts on this page:** 17\
**Page:** 1

<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:08pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/1 "2021-10-19T22:08:17Z")

</div>

Scenario: I am trying to start OS server from java code and pointing to my custom config folder. So, for that I am creating my own opensearch.yaml file and modified the config in install\_demo\_configuration.sh file to point my generated config. This all happens using java code. Now when I try to start opensearch, it starts correctly but after a point in time it gives this error (From logs):  
Exception during establishing a SSL connection: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate\_unknown  
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate\_unknown

Config file:

# ---------------------------------- Cluster -----------------------------------

cluster.name: MyTestCluster

# ------------------------------------ Node ------------------------------------

bootstrap.system\_call\_filter: false  
node.name: node-1  
node.roles: [data, master]

# ----------------------------------- Paths ------------------------------------

path.data: /data/opensearchdata/contentDir/data  
path.logs: /data/opensearchdata/contentDir/logs

# ----------------------------------- Memory -----------------------------------

# bootstrap.memory\_lock: true

indices.breaker.total.use\_real\_memory: true  
#indices.breaker.total.limit: 95%

# ---------------------------------- Network -----------------------------------

network.host: [_site_, localhost]  
transport.tcp.port: 9300  
http.port: 9200  
#network.publish\_host: hostname

# --------------------------------- Discovery ----------------------------------

discovery.seed\_hosts: [localhost:9300]  
cluster.initial\_master\_nodes: [“node-1”]  
cluster.max\_shards\_per\_node: 6000

# --------------------------------- Indices ------------------------------------

indices.query.bool.max\_clause\_count: 2048

# ---------------------------------- Gateway -----------------------------------

# gateway.recover\_after\_nodes: 3

# ---------------------------------- Various -----------------------------------

node.max\_local\_storage\_nodes: 1

# ---------------------------------- Thread pool -------------------------------

thread\_pool.write.queue\_size: 10000  
thread\_pool.search.queue\_size: 10000

# ---------------------------------- Repository --------------------------------

path.repo:

#xpack.security.enabled: false

######## Start OpenSearch Security Demo Configuration ########

# WARNING: revise all the lines below before you go into production

plugins.security.ssl.transport.pemcert\_filepath: esnode.pem  
plugins.security.ssl.transport.pemkey\_filepath: esnode-key.pem  
plugins.security.ssl.transport.pemtrustedcas\_filepath: root-ca.pem  
plugins.security.ssl.transport.enforce\_hostname\_verification: false  
plugins.security.ssl.http.enabled: true  
plugins.security.ssl.http.pemcert\_filepath: esnode.pem  
plugins.security.ssl.http.pemkey\_filepath: esnode-key.pem  
plugins.security.ssl.http.pemtrustedcas\_filepath: root-ca.pem  
plugins.security.allow\_unsafe\_democertificates: true  
plugins.security.allow\_default\_init\_securityindex: true  
plugins.security.authcz.admin\_dn:

- CN=kirk,OU=client,O=client,L=test, C=de

plugins.security.audit.type: internal\_opensearch  
plugins.security.enable\_snapshot\_restore\_privilege: true  
plugins.security.check\_snapshot\_restore\_write\_privileges: true  
plugins.security.restapi.roles\_enabled: [“all\_access”, “security\_rest\_api\_access”]  
plugins.security.system\_indices.enabled: true  
plugins.security.system\_indices.indices: [“.opendistro-alerting-config”, “.opendistro-alerting-alert\*”, “.opendistro-anomaly-results\*”, “.opendistro-anomaly-detector\*”, “.opendistro-anomaly-checkpoints”, “.opendistro-anomaly-detection-state”, “.opendistro-reports-_", ".opendistro-notifications-_”, “.opendistro-notebooks”, “.opendistro-asynchronous-search-response\*”]  
######## End OpenSearch Security Demo Configuration ########

@pablo can you shed some light on this issue?

---

<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, 10:24pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/2 "2021-10-19T22:24:46Z")

</div>

@coderzzzz

If you start this cluster with the original file, does it still throw the same FATAL error?  
Can you confirm that all certs and keys (esnode.pem, esnode-key.pem, root-ca.pem) are in the same config folder as opensearch.yml?

How do you create and start the cluster? Docker or binaries?

---

<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:28pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/3 "2021-10-19T22:28:19Z")

</div>

Yes, @pablo I confirmed that the certs and keys as you mentioned are in the same folder as opensearch.yml. I start cluster using binaries (running opensearch under bin/)

---

<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, 10:42pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/4 "2021-10-19T22:42:01Z")

</div>

@coderzzzz could you share the command line which starts the node?  
Is it a single node?  
Do you see any preceding errors or warnings? Could you share the OpenSearch log file?

---

<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:51pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/5 "2021-10-19T22:51:30Z")

</div>

@pablo its a java command which starts opensearch… but otherwise it’s as simple as running ./opensearch. Yes its a single node. Nope no preceding warnings. I can’t share the entire log file for security reasons but will share excerpts of it:  
[INFO][o.o.i.i.ManagedIndexCoordinator] [node-1] Performing move cluster state metadata.  
[2021-10-19T14:47:03,880][INFO][o.o.i.i.MetadataService] [node-1] Move Metadata succeed, set finish flag to true. Indices failed to get indexed: {}  
[2021-10-19T14:47:03,879][INFO][o.o.s.a.s.SinkProvider] [node-1] Closing InternalOpenSearchSink  
[2021-10-19T14:47:03,880][INFO][o.o.i.i.MetadataService] [node-1] There is a move metadata process running…  
[2021-10-19T14:47:03,892][INFO][o.o.s.a.s.SinkProvider] [node-1] Closing DebugSink  
[2021-10-19T14:47:04,094][INFO][o.o.n.Node] [node-1] stopped  
[2021-10-19T14:47:04,095][INFO][o.o.n.Node] [node-1] closing …  
[2021-10-19T14:47:04,104][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Closing AuditLogImpl  
[2021-10-19T14:47:04,108][INFO][o.o.n.Node] [node-1] closed  
[2021-10-19T14:48:17,501][INFO][o.o.n.Node] [node-1] version[1.0.0], pid[2455901], build[tar/34550c5b17124ddc59458ef774f6b43a086522e3/2021-07-02T23:22:21.383695Z], OS[Linux/5.4.0-37-generic/amd64], JVM[Eclipse Foundation/OpenJDK 64-Bit Server VM/11.0.12/11.0.12+7]  
[2021-10-19T14:48:17,504][INFO][o.o.n.Node] [node-1] JVM arguments [-Xshare:auto, -Dopensearch.networkaddress.cache.ttl=60, -Dopensearch.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, -Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/tmp/opensearch-12664107107897359870, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs\_err\_pid%p.log, -Xlog:gc\*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Dclk.tck=100, -Djdk.attach.allowAttachSelf=true, -Djava.security.policy=/data/opensearchdata/opensearch-1.0.1/plugins/opensearch-performance-analyzer/pa\_config/opensearch\_security.policy, -XX:MaxDirectMemorySize=536870912, -Dopensearch.path.home=/data/opensearchdata/opensearch-1.0.1, -Dopensearch.path.conf=/data/opensearchdata/contentDir/etc, -Dopensearch.distribution.type=tar, -Dopensearch.bundled\_jdk=true]  
[2021-10-19T14:48:19,634][INFO][o.o.s.s.t.SSLConfig] [node-1] SSL dual mode is disabled  
[2021-10-19T14:48:19,634][INFO][o.o.s.OpenSearchSecurityPlugin] [node-1] OpenSearch Config path is /data/opensearchdata/contentDir/etc  
[2021-10-19T14:48:19,910][INFO][o.o.s.s.DefaultSecurityKeyStore] [node-1] JVM supports TLSv1.3  
[2021-10-19T14:48:19,912][INFO][o.o.s.s.DefaultSecurityKeyStore] [node-1] Config directory is /data/opensearchdata/contentDir/etc/, from there the key- and truststore files are resolved relatively  
[2021-10-19T14:48:20,215][INFO][o.o.s.s.DefaultSecurityKeyStore] [node-1] TLS Transport Client Provider : JDK  
[2021-10-19T14:48:20,216][INFO][o.o.s.s.DefaultSecurityKeyStore] [node-1] TLS Transport Server Provider : JDK  
[2021-10-19T14:48:20,216][INFO][o.o.s.s.DefaultSecurityKeyStore] [node-1] TLS HTTP Provider : JDK  
[2021-10-19T14:48:20,216][INFO][o.o.s.s.DefaultSecurityKeyStore] [node-1] Enabled TLS protocols for transport layer : [TLSv1.3, TLSv1.2]  
[2021-10-19T14:48:20,217][INFO][o.o.s.s.DefaultSecurityKeyStore] [node-1] Enabled TLS protocols for HTTP layer : [TLSv1.3, TLSv1.2]  
[2021-10-19T14:48:20,484][INFO][o.o.s.OpenSearchSecurityPlugin] [node-1] Clustername: MyTestCluster  
[2021-10-19T14:48:20,490][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] Directory /data/opensearchdata/contentDir/etc has insecure file permissions (should be 0700)  
[2021-10-19T14:48:20,490][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/kirk.pem has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,491][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/log4j2.properties has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,491][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/.opensearch.yml.swp has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,491][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/kirk-key.pem has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,492][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/jvm.options has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,492][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/opensearch.yml has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,492][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/esnode.pem has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,493][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/root-ca.pem has insecure file permissions (should be 0600)  
[2021-10-19T14:48:20,493][WARN][o.o.s.OpenSearchSecurityPlugin] [node-1] File /data/opensearchdata/contentDir/etc/esnode-key.pem has insecure file permissions (should be 0600)

2021-10-19T14:48:29,419][WARN][o.o.s.a.r.AuditMessageRouter] [node-1] No endpoint configured for categories [BAD\_HEADERS, FAILED\_LOGIN, MISSING\_PRIVILEGES, GRANTED\_PRIVILEGES, OPENDISTRO\_SECURITY\_INDEX\_ATTEMPT, SSL\_EXCEPTION, AUTHENTICATED, INDEX\_EVENT, COMPLIANCE\_DOC\_READ, COMPLIANCE\_DOC\_WRITE, COMPLIANCE\_EXTERNAL\_CONFIG, COMPLIANCE\_INTERNAL\_CONFIG\_READ, COMPLIANCE\_INTERNAL\_CONFIG\_WRITE], using default endpoint  
[2021-10-19T14:48:29,419][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing of external configuration is disabled.  
[2021-10-19T14:48:29,419][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing of internal configuration is enabled.  
[2021-10-19T14:48:29,419][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing only metadata information for read request is enabled.  
[2021-10-19T14:48:29,420][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing will watch {} for read requests.  
[2021-10-19T14:48:29,420][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing read operation requests from kibanaserver users is disabled.  
[2021-10-19T14:48:29,420][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing only metadata information for write request is enabled.  
[2021-10-19T14:48:29,420][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing diffs for write requests is disabled.  
[2021-10-19T14:48:29,420][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing write operation requests from kibanaserver users is disabled.  
[2021-10-19T14:48:29,421][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Auditing will watch for write requests.  
[2021-10-19T14:48:29,421][INFO][o.o.s.a.i.AuditLogImpl] [node-1] .opendistro\_security is used as internal security index.  
[2021-10-19T14:48:29,421][INFO][o.o.s.a.i.AuditLogImpl] [node-1] Internal index used for posting audit logs is null  
[2021-10-19T14:48:29,422][INFO][o.o.s.c.ConfigurationRepository] [node-1] Hot-reloading of audit configuration is enabled  
[2021-10-19T14:48:29,422][INFO][o.o.s.c.ConfigurationRepository] [node-1] Node ‘node-1’ initialized  
[2021-10-19T14:49:23,101][ERROR][o.o.s.s.h.n.SecuritySSLNettyHttpServerTransport] [node-1] Exception during establishing a SSL connection: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate\_unknown  
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate\_unknown  
at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?]  
at sun.security.ssl.Alert.createSSLException(Alert.java:117) ~[?:?]  
at sun.security.ssl.TransportContext.fatal(TransportContext.java:336) ~[?:?]  
at sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293) ~[?:?]  
at sun.security.ssl.TransportContext.dispatch(TransportContext.java:185) ~[?:?]  
at sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) ~[?:?]  
at sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:681) ~[?:?]  
at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:636) ~[?:?]  
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:454) ~[?:?]  
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:433) ~[?:?]  
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:637) ~[?:?]  
at io.netty.handler.ssl.SslHandler$SslEngineType$3.unwrap(SslHandler.java:282) ~[netty-handler-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1387) ~[netty-handler-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282) ~[netty-handler-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1329) ~[netty-handler-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:508) ~[netty-codec-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:447) ~[netty-codec-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-codec-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:620) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:583) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) [netty-transport-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-common-4.1.59.Final.jar:4.1.59.Final]  
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.59.Final.jar:4.1.59.Final]  
at java.lang.Thread.run(Thread.java:829) [?:?]

---

<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, 11:07pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/6 "2021-10-19T23:07:34Z")

</div>

@coderzzzz could you change network.host: [_site_ , localhost] to network.host: 0.0.0.0?

---

<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, 11:09pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/7 "2021-10-19T23:09:48Z")

</div>

@pablo actually that’s pointing to my internal service hostname actually, I just replaced it here for completeness

---

<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, 11:11pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/8 "2021-10-19T23:11:11Z")

</div>

So @pablo initially, the server hosts and is up on internal\_host:9200 port but after some time it keeps giving this exception and I can’t figure out where exactly is the issue as it is a demo security 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, 11:34pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/9 "2021-10-19T23:34:18Z")

</div>

@coderzzzz do you run opensearch with opensearch-dashboards? If so, could you run just opensearch and check for errors?

---

<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, 11:45pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/10 "2021-10-19T23:45:47Z")

</div>

@pablo I ran opensearch only and then sent you these logs

---

<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 20, 2021, 12:02am UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/11 "2021-10-20T00:02:05Z")

</div>

You’ve stated that install\_demo\_configuration.sh was executed with a custom opensearch.yml file.  
Have you made any changes in the certificates section of install\_demo\_configuration.sh?

---

<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 20, 2021, 12:03am UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/12 "2021-10-20T00:03:33Z")

</div>

Since this is a test environment, have you tried to use the latest version 1.1.0?

---

<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 20, 2021, 12:10am UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/13 "2021-10-20T00:10:33Z")

</div>

@pablo haven’t made any changes to the certificates section of install\_demo\_configuration.sh

---

<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 20, 2021, 12:11am UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/14 "2021-10-20T00:11:26Z")

</div>

I can, but will it make a difference? It was running fine till this morning actually

---

<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 20, 2021, 5:34pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/15 "2021-10-20T17:34:34Z")

</div>

@pablo I tried using opensearch-1.1.0 but after making those modification changes the same issue persists. Any other suggestions?

---

<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 21, 2021, 3:27pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/16 "2021-10-21T15:27:02Z")

</div>

@coderzzzz would you mind sending the modified install\_demo\_configuration.yml? You could alter sensitive data and message it to me directly.

If you keep this OpenSearch running for while, does the ERROR repeat? If so, how often does that?

---

<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 21, 2021, 8:05pm UTC](https://forum.opensearch.org/t/receiving-sslhandshakeexception-certificate-unkown/7353/17 "2021-10-21T20:05:54Z")

</div>

@pablo I have sent you the file, can you tell me what’s the issue?
