Code Monkey home page Code Monkey logo

Comments (4)

brsolomon-deloitte avatar brsolomon-deloitte commented on June 14, 2024

Regenerated the ca and cert with a password for each, added es_ssl_keystore_password and es_ssl_truststore_password to es-vars.yaml - same failure.

from ansible-elasticsearch.

bndabbs avatar bndabbs commented on June 14, 2024

It looks like you are passing the --multiple flag to elasticsearch-certutil, which outputs a zip archive of all the requested certs.

https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html#certutil-cert

If you specify the --keep-ca-key, --multiple or --in parameters, the command produces a zip file containing the generated certificates and keys.

I think you just need to extract the archive and move the contents to the expected locations to remediate this issue.

from ansible-elasticsearch.

brsolomon-deloitte avatar brsolomon-deloitte commented on June 14, 2024

@bndabbs thanks for responding, I confirmed this is the case. The resulting my-keystore.p12 is a ZIP archive of individual p12s that, when unzip'd, produces es-{1..3}/*.p12 for each node.

I'll be re-deploying a new cluster today pointing to the correct keystore for each node, and will close this issue if that resolves the exception.

from ansible-elasticsearch.

brsolomon-deloitte avatar brsolomon-deloitte commented on June 14, 2024

Confirmed this was the case. By passing an individual es_ssl_keystore to each host block the cluster now comes up green and is accessible via https (with a --cacert needed).

from ansible-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.