Skip to content

Commit

Permalink
update es,add link
Browse files Browse the repository at this point in the history
  • Loading branch information
Statemood committed Aug 28, 2020
1 parent a016626 commit 369873b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions elasticsearch/secure-es-with-tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ IP.3 = 10.10.20.153
```

- IP 为 ES Node IP,不在列表中的IP将无法加入本集群
对应配置为 `xpack.security.transport.ssl.verification_mode: full`



Expand Down Expand Up @@ -190,9 +191,6 @@ xpack.security.transport.ssl.certificate: ssl/es-server.pem
xpack.security.transport.ssl.certificate_authorities: ["ssl/es-ca.pem"]
```
*xpack.security.transport.ssl.verification_mode* > [更多相关信息](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#transport-tls-ssl-settings)
#### 重启 Elasticsearch 集群
Expand All @@ -213,7 +211,6 @@ systemctl restart elasticsearch
```



通过交互形式手动输入账号及密码

```shell
Expand Down Expand Up @@ -278,3 +275,6 @@ curl -s --cacert es-ca.pem --cert es-client.pem --key es-client.key \



# 附录
[1]. [Security settings in Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html)
[2]. [Transport TLS/SSL settings](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#transport-tls-ssl-settings)

0 comments on commit 369873b

Please sign in to comment.