# Elastic 7.5.1: http client did not trust this server's certificate

**URL:** <https://discuss.elastic.co/t/elastic-7-5-1-http-client-did-not-trust-this-servers-certificate/299704>\
**Category:** Elastic Security\
**Tags:** elastic-stack-security\
**Created:** [March 15, 2022, 9:09am UTC](https://discuss.elastic.co/t/elastic-7-5-1-http-client-did-not-trust-this-servers-certificate/299704 "2022-03-15T09:09:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yurii4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yurii4/32/103048_2.png) [@yurii4](https://discuss.elastic.co/u/yurii4)\
**Post date:** [March 15, 2022, 9:09am UTC](https://discuss.elastic.co/t/elastic-7-5-1-http-client-did-not-trust-this-servers-certificate/299704/1 "2022-03-15T09:09:05Z")

</div>

Hello  
I have a configured elasticearch.yml that includes these settings:

```auto
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: el_cert.p12
xpack.security.transport.ssl.truststore.path: el_cert.p12
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: el_cert.p12
xpack.security.http.ssl.truststore.path: el_cert.p12

```

I added CA to the Trusted Root and el\_cert.p12 to Personal.  
Users and Users\_roles were also set up.

Finally, I have "Security enabled", but no https secure connection on the client side with this warning:  
`[o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node-1] http client did not trust this server's certificate, closing connection Netty4HttpChannel`

However, the node starts properly.  
Could you please give me a tip for resolving that case?

---

<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:** [April 12, 2022, 9:09am UTC](https://discuss.elastic.co/t/elastic-7-5-1-http-client-did-not-trust-this-servers-certificate/299704/2 "2022-04-12T09:09:37Z")

</div>

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