# Issues while upgrading to Docker based Elastic Stack 7.10.1

**URL:** <https://discuss.elastic.co/t/issues-while-upgrading-to-docker-based-elastic-stack-7-10-1/258790>\
**Category:** Elasticsearch\
**Created:** [December 16, 2020, 12:00am UTC](https://discuss.elastic.co/t/issues-while-upgrading-to-docker-based-elastic-stack-7-10-1/258790 "2020-12-16T00:00:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nielarshi](https://avatars.discourse-cdn.com/v4/letter/n/dfb087/32.png) [@nielarshi](https://discuss.elastic.co/u/nielarshi)\
**Post date:** [December 16, 2020, 12:00am UTC](https://discuss.elastic.co/t/issues-while-upgrading-to-docker-based-elastic-stack-7-10-1/258790/1 "2020-12-16T00:00:35Z")

</div>

I am trying to upgrade my Elastic Stack to 7.10.1 from 7.1.1 but facing some issues.  
I already have 7.1.1 version setup with 3 docker nodes cluster which works fine.  
I followed below to upgrade to 7.10.1 version with same 3 node setup:

> **[Running the Elastic Stack on Docker | Getting Started \[7.10\] | Elastic](https://www.elastic.co/guide/en/elastic-stack-get-started/7.10/get-started-docker.html#get-started-docker-tls)**

  

> **[Encrypting communications in an Elasticsearch Docker Container |...](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/configuring-tls-docker.html)**

However, I get below issues:

```auto
    [root@809c1952c653 elasticsearch]# bin/elasticsearch-setup-passwords interactive
23:50:48.354 [main] WARN org.elasticsearch.common.ssl.DiagnosticTrustManager - failed to establish trust with server at [172.31.0.5]; the server provided a certificate with subject name [CN=es01] and fingerprint [5f37c2526693a265e2485a17e809480ef1c6431a]; the certificate has subject alternative names [DNS:localhost,IP:127.0.0.1,DNS:es01]; the certificate is issued by [CN=Elastic Certificate Tool Autogenerated CA] but the server did not provide a copy of the issuing certificate in the certificate chain; the issuing certificate with fingerprint [49a6202a696348d2c337fcc068d3d2cde83f30e3] is trusted in this ssl context ([xpack.security.http.ssl])
java.security.cert.CertificateException: No subject alternative names matching IP address 172.31.0.5 found

```

Followed [https://www.elastic.co/guide/en/elasticsearch/reference/7.x/trb-security-setup.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/trb-security-setup.html) but no luck.

crt has SAN entry:

```auto
    openssl x509 -in es01/es01.crt -noout -text
    X509v3 Subject Alternative Name:
                DNS:localhost, IP Address:127.0.0.1, DNS:es01

```

Apart from this, when Kibana tries to connect, it gets:

```auto
    Client network socket disconnected before secure TLS connection was established

```

also

```auto
    ["warning","elasticsearch","data"],"pid":6,"message":"No living connections"}

```

I also get logged out from Kibana randomly.  
I guess, these issues are related.

Is there anything which I am missing? Similar configuration works for 7.1.1 with no such issues.  
Any lead on this?

---

<div class="post-metadata">

**Author:** ![nielarshi](https://avatars.discourse-cdn.com/v4/letter/n/dfb087/32.png) [@nielarshi](https://discuss.elastic.co/u/nielarshi)\
**Post date:** [December 16, 2020, 12:05am UTC](https://discuss.elastic.co/t/issues-while-upgrading-to-docker-based-elastic-stack-7-10-1/258790/2 "2020-12-16T00:05:59Z")

</div>

As stated, I have 3 nodes. Example environment entries for es01 is

```auto
      - node.name=es01
      - node.roles=ingest,master
      - discovery.seed_hosts=es02,es03
      - cluster.initial_master_nodes=es01,es02,es03
      - bootstrap.memory_lock=true
      - ELASTIC_PASSWORD=$ELASTIC_PASSWORD
      - "ES_JAVA_OPTS=-Xms2g -Xmx2g"
      - xpack.security.enabled=true
      - xpack.security.http.ssl.enabled=true
      - xpack.security.http.ssl.key=$CERTS_DIR/es01/es01.key
      - xpack.security.http.ssl.certificate_authorities=$CERTS_DIR/ca/ca.crt
      - xpack.security.http.ssl.certificate=$CERTS_DIR/es01/es01.crt
      - xpack.security.transport.ssl.enabled=true
      - xpack.security.transport.ssl.verification_mode=certificate
      - xpack.security.transport.ssl.certificate_authorities=$CERTS_DIR/ca/ca.crt
      - xpack.security.transport.ssl.certificate=$CERTS_DIR/es01/es01.crt
      - xpack.security.transport.ssl.key=$CERTS_DIR/es01/es01.key

```

es02 and es03 follow same entries but with name changed. es03 is the only data node.  
Below are the node list:

```auto
172.31.0.4 58 95 2 0.07 0.15 0.29 dim * es03
172.31.0.5 21 95 2 0.07 0.15 0.29 im - es01
172.31.0.3 60 95 2 0.07 0.15 0.29 im - es02

```

---

<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:** [January 13, 2021, 12:06am UTC](https://discuss.elastic.co/t/issues-while-upgrading-to-docker-based-elastic-stack-7-10-1/258790/3 "2021-01-13T00:06:08Z")

</div>

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