Giter VIP home page Giter VIP logo

howtos's People

Contributors

bvader avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

howtos's Issues

Kibana server is not ready yet after TLS enabled !

Hi there,
Thanks for your documents and how to,
I used to replace exactly the same commands you wrote in the doc. there are two problems worth mentioning:

  1. some errors appeared when setting up the Kibana tls config lins as bellow:
 **Jun 19 08:48:57 elk-test.namava.dc2.ser kibana[13410]: [2022-06-19T08:48:57.490+04:30][FATAL][root] Error: [config validation of [server].ssl]: cannot use [key] when [keystore.path] is specified**
Jun 19 08:48:57 elk-test.namava.dc2.ser systemd[1]: kibana.service: main process exited, code=exited, status=1/FAILURE
Jun 19 08:48:57 elk-test.namava.dc2.ser systemd[1]: Unit kibana.service entered failed state.
Jun 19 08:48:57 elk-test.namava.dc2.ser systemd[1]: kibana.service failed.
Jun 19 08:49:00 elk-test.namava.dc2.ser systemd[1]: kibana.service holdoff time over, scheduling restart.
Jun 19 08:49:00 elk-test.namava.dc2.ser systemd[1]: Stopped Kibana.
Jun 19 08:49:00 elk-test.namava.dc2.ser systemd[1]: Started Kibana.
Jun 19 08:49:02 elk-test.namava.dc2.ser kibana[13429]: [2022-06-19T08:49:02.662+04:30][FATAL][root] Error: [config validation of [server].ssl]: cannot use [key] when [keystore.path] is specified
Jun 19 08:49:02 elk-test.namava.dc2.ser kibana[13429]: at ObjectType.validate (/usr/share/kibana/node_modules/@kbn/config-schema/target_node/types/type.js:95:13)
Jun 19 08:49:02 elk-test.namava.dc2.ser kibana[13429]: at ConfigService.validateAtPath (/usr/share/kibana/node_modules/@kbn/config/target_node/config_service.js:228:19)
Jun 19 08:49:02 elk-test.namava.dc2.ser kibana[13429]: at MapSubscriber.project (/usr/share/kibana/node_modules/@kbn/config/target_node/config_service.js:236:169)
Jun 19 08:49:02 elk-test.namava.dc2.ser kibana[13429]: at MapSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/map.js:49:35)
Jun 19 08:49:02 elk-test.namava.dc2.ser kibana[13429]: at MapSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)
Jun 19 08:49:02 elk-test.namava.dc2.ser kibana[13429]: at DistinctUntilChangedSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)

and the second error:

**Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: [2022-06-19T08:50:39.034+04:30][FATAL][root] Error: [config validation of [server].ssl]: cannot use [certificate] when [keystore.path] is specified**
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at ObjectType.validate (/usr/share/kibana/node_modules/@kbn/config-schema/target_node/types/type.js:95:13)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at ConfigService.validateAtPath (/usr/share/kibana/node_modules/@kbn/config/target_node/config_service.js:228:19)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at MapSubscriber.project (/usr/share/kibana/node_modules/@kbn/config/target_node/config_service.js:236:169)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at MapSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/map.js:49:35)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at MapSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at DistinctUntilChangedSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at MapSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/map.js:55:26)
Jun 19 08:50:39 elk-test.namava.dc2.ser kibana[13485]: at MapSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)

so, base on the first lines of the fatal errors, we would not use the lines:

#server.ssl.certificate: "/etc/kibana/certs/kibana.crt"
#server.ssl.key: "/etc/kibana/certs/kibana.key"

in the kibana.yml file.

  1. after configuring all steps, and starting successfully all the services, there is one more problem that is dramatically wired to me and that is the although the kibana service is running, but when you want to open it in the browser, you face with bellow error with no log in the elasticsearch or kibana log files:
    image

Are there any advice to figure out how to solve this problem?

Clarification in "Single Node Secured Elasticsearch + Kibana with Self Signed Certs"

On line 184 of the README it states

Create a Kibana keystore and put the elasticsearch password in it...

It's not clear which password elasticsearch password is referring to?

I presume this is one of the passwords from the previous instruction:

...to set the passwords for all the built in users...
/usr/share/elasticsearch/bin/elasticsearch-setup-passwords interactive

During that process I changed passwords for two likely candidates - elastic and kibana_system.

Is it one of those two or another?

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.