• dragonwang
    2019-10-23
    xpack.security.transport.ssl.enabled: true
    xpack.security.transport.ssl.verification_mode: certificate
    xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12
    xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12
    配置之后,访问ES,HTTPS没有生效...没查出来哪里出了问题...
    展开
     1
     1
  • struy
    2019-09-02
    我想问下使用nginx负载到es集群,用于数据写入是否可行,比如前端,客户端的指标数据上送,就不需要单独开发应用去做中间转换。直接使用es的api进行写入。可是我又怕这样会有安全问题和性能问题,老师有没有好点的建议?

    作者回复: ngix用来做软件的负载均衡是没有问题的。身份认证也可以通过nginx来实现,只是实现rbac会相对复杂,而且也最多只能做到index级别

    
     1
  • kylexy_0817
    2019-11-02
    根据老师的配置操作,但kibana启动时报如下错误,是什么原因呢?
    log [16:36:06.060] [error][admin][elasticsearch] Request error, retrying
    HEAD http://localhost:9200/ => socket hang up
      log [16:36:06.064] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/
      log [16:36:06.064] [warning][admin][elasticsearch] No living connections
      log [16:36:06.066] [error][status][plugin:xpack_main@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
      log [16:36:06.066] [error][status][plugin:graph@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
      log [16:36:06.066] [error][status][plugin:spaces@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
      log [16:36:06.066] [error][status][plugin:security@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
      log [16:36:06.066] [error][status][plugin:searchprofiler@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
      log [16:36:06.067] [error][status][plugin:ml@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
      log [16:36:06.067] [error][status][plugin:tilemap@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
      log [16:36:06.067] [error][status][plugin:watcher@7.1.0] Status changed from yellow to red - Unable to connect to Elasticsearch.
    展开
     1
    
  • dragonwang
    2019-10-24
    es配置了HTTPS,那用Rest API要如何访问啊?

    作者回复: 直接用带https的endpoint

    
    
  • Geek_2e09f0
    2019-10-15
    $ ./bin/elasticsearch-setup-passwords interactive

    SSL connection to https://192.168.56.131:9200/_security/_authenticate?pretty failed: No subject alternative names present
    Please check the elasticsearch SSL settings under xpack.security.http.ssl.

    ERROR: Failed to establish SSL connection to elasticsearch at https://192.168.56.131:9200/_security/_authenticate?pretty.
    执行设置用户密码报错这时什么问题

    这时配置
    path.data: /opt/app/elasticsearch-7.1.0/data/
    xpack.security.enabled: true
    xpack.security.transport.ssl.enabled: true
    xpack.security.transport.ssl.verification_mode: certificate
    xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12
    xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12
    xpack.license.self_generated.type: basic
    xpack.security.http.ssl.enabled: true
    xpack.security.http.ssl.keystore.path: certs/elastic-certificates.p12
    xpack.security.http.ssl.truststore.path: certs/elastic-certificates.p12
    展开
    
    
  • godtrue
    2019-09-22
    设置只能通过https进行安全加密的对外数据传输,没做过ES的运维工作,先知道她是怎么玩的。
    
    
  • tomws
    2019-09-06
    生产环境如果要避免错误提示问题,需要购买收费证书么?

    作者回复: 对

    
    
  • struy
    2019-09-02
    我想问一下,如果使用nginx进行负载,写入数据
    
    
我们在线,来聊聊吧