This is an automated email from the ASF dual-hosted git repository.

Croway pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 17012fefa458 CAMEL-23505: camel-splunk-hec: align hostname 
verification with system default in SplunkHECProducer
17012fefa458 is described below

commit 17012fefa45860f01e19a9b4b765fa2c6d5be8de
Author: Croway <[email protected]>
AuthorDate: Thu May 14 11:49:27 2026 +0200

    CAMEL-23505: camel-splunk-hec: align hostname verification with system 
default in SplunkHECProducer
---
 .../java/org/apache/camel/component/splunkhec/SplunkHECProducer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java
 
b/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java
index 0936d801f727..55169ad7d5cb 100644
--- 
a/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java
+++ 
b/components/camel-splunk-hec/src/main/java/org/apache/camel/component/splunkhec/SplunkHECProducer.java
@@ -77,7 +77,7 @@ public class SplunkHECProducer extends DefaultProducer {
             connManager = new 
PoolingHttpClientConnectionManager(registryBuilder.build());
         } else {
             SSLConnectionSocketFactory sslsf
-                    = new 
SSLConnectionSocketFactory(endpoint.provideSSLContext(), 
NoopHostnameVerifier.INSTANCE);
+                    = new 
SSLConnectionSocketFactory(endpoint.provideSSLContext());
             RegistryBuilder<ConnectionSocketFactory> registryBuilder = 
RegistryBuilder.create();
             registryBuilder.register("https", sslsf);
 

Reply via email to