mirror of
https://github.com/201206030/novel.git
synced 2025-07-06 21:16:38 +00:00
feat: 设置 Elasticsearch 的 ssl 认证模式
This commit is contained in:
@ -60,6 +60,11 @@
|
||||
"name": "xxl.job.accessToken",
|
||||
"type": "java.lang.String",
|
||||
"description": "xxl-job accessToken."
|
||||
},
|
||||
{
|
||||
"name": "spring.elasticsearch.ssl.verification-mode",
|
||||
"type": "java.lang.String",
|
||||
"description": "设置 ssl 的认证模式,如果该配置项为 none ,说明不需要认证,信任所有的 ssl 证书."
|
||||
}
|
||||
]
|
||||
}
|
@ -97,6 +97,9 @@ spring:
|
||||
- https://my-deployment-ce7ca3.es.us-central1.gcp.cloud.es.io:9243
|
||||
username: elastic
|
||||
password: qTjgYVKSuExX6tWAsDuvuvwl
|
||||
# 设置 ssl 的认证模式,如果该配置项为 none ,说明不需要认证,信任所有的 ssl 证书。
|
||||
# ssl:
|
||||
# verification-mode: none
|
||||
|
||||
# Spring AMQP 配置
|
||||
amqp:
|
||||
|
Reference in New Issue
Block a user