elasticsearch6.4.2许可证过期了 es破解

 

 

查看节点信息

curl -u elastic '10.0.221.69:9200/_cat/nodes?pretty'

 

{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "current license is non-compliant for [security]",
"license.expired.feature" : "security"
}
],
"type" : "security_exception",
"reason" : "current license is non-compliant for [security]",
"license.expired.feature" : "security"
},
"status" : 403
}

 

image

 

 

image

 

如果Revert to Basic license  就没有安全认证了

 

image

 


破解方法:


https://blog.csdn.net/wfs1994/article/details/80421922

 

导入证书报错 请先关闭  xpack.security.enabled:false  然后在导入

开启安全验证 必须要配置集群内部通讯的TLS/SSL

 

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

 

我的是在一个节点生成好证书和私钥  然后copy到其他节点

在没有启动kibana 总是密码错误。 启动kibana后就都好了。

 

 


您可以选择一种方式赞助本站

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

图片 表情