You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ar...@apache.org on 2025/04/10 09:51:53 UTC
(ambari) branch revert-3974-AMBARI-26428 created (now a92ac94ec7)
This is an automated email from the ASF dual-hosted git repository.
arshad pushed a change to branch revert-3974-AMBARI-26428
in repository https://gitbox.apache.org/repos/asf/ambari.git
at a92ac94ec7 Revert "AMBARI-26428: Fix Ambari Server Startup Failure with Jetty SSL and Mu…"
This branch includes the following new commits:
new a92ac94ec7 Revert "AMBARI-26428: Fix Ambari Server Startup Failure with Jetty SSL and Mu…"
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org
(ambari) 01/01: Revert "AMBARI-26428: Fix Ambari Server Startup Failure with Jetty SSL and Mu…"
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
arshad pushed a commit to branch revert-3974-AMBARI-26428
in repository https://gitbox.apache.org/repos/asf/ambari.git
commit a92ac94ec7dd94fd8c2daa530e5e623e5f2dd3cb
Author: Mohammad Arshad <mo...@visa.com>
AuthorDate: Thu Apr 10 15:21:46 2025 +0530
Revert "AMBARI-26428: Fix Ambari Server Startup Failure with Jetty SSL and Mu…"
This reverts commit 4f2c450b25483b5c176a1e5d3a780b8ab6a63373.
---
.../main/java/org/apache/ambari/server/controller/AmbariServer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
index 8b4a3a20e9..1c0aa67de8 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
@@ -631,7 +631,7 @@ public class AmbariServer {
https_config.setSendServerVersion(false);
// Secured connector - default constructor sets trustAll = true for certs
- SslContextFactory sslContextFactory = new SslContextFactory.Server();
+ SslContextFactory sslContextFactory = new SslContextFactory();
disableInsecureProtocols(sslContextFactory);
sslContextFactory.setKeyStorePath(keystore);
sslContextFactory.setTrustStorePath(truststore);
@@ -677,7 +677,7 @@ public class AmbariServer {
https_config.addCustomizer(new SecureRequestCustomizer());
https_config.setSecurePort(configs.getClientSSLApiPort());
- SslContextFactory contextFactoryApi = new SslContextFactory.Server();
+ SslContextFactory contextFactoryApi = new SslContextFactory();
disableInsecureProtocols(contextFactoryApi);
contextFactoryApi.setKeyStorePath(httpsKeystore);
contextFactoryApi.setTrustStorePath(httpsTruststore);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org