mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Fix compile issues introduced by merge (#32058)
The build was broken due to some issues with the merging of #32018. A method that was public went private before the PR was merged. That did not cause a merge conflict (so the PR was merged successfully). But it did cause the build to fail.
This commit is contained in:
parent
305bfea9c3
commit
a612404b1f
@ -59,7 +59,7 @@ public class SecurityNioHttpServerTransport extends NioHttpServerTransport {
|
||||
this.sslEnabled = HTTP_SSL_ENABLED.get(settings);
|
||||
this.sslService = sslService;
|
||||
if (sslEnabled) {
|
||||
this.sslConfiguration = sslService.sslConfiguration(SSLService.getHttpTransportSSLSettings(settings), Settings.EMPTY);
|
||||
this.sslConfiguration = sslService.getHttpTransportSSLConfiguration();
|
||||
if (sslService.isConfigurationValidForServerUsage(sslConfiguration) == false) {
|
||||
throw new IllegalArgumentException("a key must be provided to run as a server. the key should be configured using the " +
|
||||
"[xpack.security.http.ssl.key] or [xpack.security.http.ssl.keystore.path] setting");
|
||||
|
Loading…
x
Reference in New Issue
Block a user