You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fm...@apache.org on 2026/05/14 10:37:41 UTC

(camel) branch camel-4.18.x updated: CAMEL-23505: camel-splunk-hec: align hostname verification with system default in SplunkHECProducer

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

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


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

commit c9049540f2a6a07df99773cd3a7bef8891e04efb
Author: Croway <fe...@gmail.com>
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 09c6665ac9e0..6558504b0350 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
@@ -69,7 +69,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);