diff --git a/src/main/java/com/bloggios/user/configuration/ElasticClientConfiguration.java b/src/main/java/com/bloggios/user/configuration/ElasticClientConfiguration.java index 6ab35b2..3e6c529 100644 --- a/src/main/java/com/bloggios/user/configuration/ElasticClientConfiguration.java +++ b/src/main/java/com/bloggios/user/configuration/ElasticClientConfiguration.java @@ -83,7 +83,7 @@ public RestHighLevelClient elasticsearchClient() { ClientConfiguration clientConfiguration = ClientConfiguration .builder() .connectedTo(server.split(",")) -// .usingSsl(sslContext()) + .usingSsl(sslContext()) .withBasicAuth(username, password) .withDefaultHeaders(compatibilityHeaders) .build(); diff --git a/src/main/resources/certificates/http_ca.crt b/src/main/resources/certificates/http_ca.crt index 6e4a147..bf85ef9 100644 --- a/src/main/resources/certificates/http_ca.crt +++ b/src/main/resources/certificates/http_ca.crt @@ -1,31 +1,31 @@ -----BEGIN CERTIFICATE----- -MIIFWTCCA0GgAwIBAgIUTIAD/LhjVgM1Qj+iw1Hp+hzszW0wDQYJKoZIhvcNAQEL -BQAwPDE6MDgGA1UEAxMxRWxhc3RpY3NlYXJjaCBzZWN1cml0eSBhdXRvLWNvbmZp -Z3VyYXRpb24gSFRUUCBDQTAeFw0yNDAzMTkxNzI2NTNaFw0yNzAzMTkxNzI2NTNa -MDwxOjA4BgNVBAMTMUVsYXN0aWNzZWFyY2ggc2VjdXJpdHkgYXV0by1jb25maWd1 -cmF0aW9uIEhUVFAgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/ -vxWxeyTCpjIcdRv88xNxOzjAM5mb7U5u7Hrd6of5Cj/shMRqMwzeAkrkb5P5YBKQ -1ZuO5tU7tSqHVMtEcdG2QOrK5o5zwlGdqsmaq6ogAU5QSjOe8ZoqAQfhMy8C7MD1 -3g8V8/W7u0RRFPnvYBPpfg5Duun1ot0yCN3kvgVZAmVpPfh7GexqMC8+G8Zp1OX5 -Z80/2UgkeBHt9txZXAdfDdEquX5Ud+GyPJhVGNFxV8JSnm/mSK9EpDK5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