mirror of
https://github.com/201206030/novel-cloud.git
synced 2025-04-26 09:20:51 +00:00
style: 格式化 & 注释
This commit is contained in:
parent
35c750d4ac
commit
434062392c
@ -41,7 +41,7 @@ public class EsConfig {
|
||||
* fix `sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
|
||||
* unable to find valid certification path to requested target`
|
||||
*/
|
||||
@ConditionalOnProperty(value = "spring.elasticsearch.ssl.verification-mode",havingValue = "none")
|
||||
@ConditionalOnProperty(value = "spring.elasticsearch.ssl.verification-mode", havingValue = "none")
|
||||
@Bean
|
||||
RestClient elasticsearchRestClient(RestClientBuilder restClientBuilder,
|
||||
ObjectProvider<RestClientBuilderCustomizer> builderCustomizers) {
|
||||
|
@ -9,6 +9,7 @@ spring:
|
||||
- https://127.0.0.1:9200
|
||||
username: elastic
|
||||
password: Fy2JWjJ1hcO2mi1USFLR
|
||||
# 设置 ssl 的认证模式,如果该配置项为 none ,说明不需要认证,信任所有的 ssl 证书。
|
||||
# ssl:
|
||||
# verification-mode: none
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user