You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/12/06 09:23:50 UTC

(camel-kamelets) branch kafka-ssl-endpoint-algo created (now 8f71ea99)

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

acosentino pushed a change to branch kafka-ssl-endpoint-algo
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


      at 8f71ea99 Support SSL Endpoint Algorithm in Kafka SSL Kamelets

This branch includes the following new commits:

     new 592e4a2f Support SSL Endpoint Algorithm in Kafka SSL Kamelets
     new caaff90c Support SSL Endpoint Algorithm in Kafka SSL Kamelets
     new 8f71ea99 Support SSL Endpoint Algorithm in Kafka SSL Kamelets

The 3 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.



(camel-kamelets) 03/03: Support SSL Endpoint Algorithm in Kafka SSL Kamelets

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch kafka-ssl-endpoint-algo
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8f71ea990d61c1b6093bf0e73a5781f79dc96603
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 6 10:22:10 2023 +0100

    Support SSL Endpoint Algorithm in Kafka SSL Kamelets
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml
index 786393f0..0793c543 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml
@@ -135,8 +135,8 @@ spec:
           sslTruststoreLocation: '{{sslTruststoreLocation}}'
           sslProtocol: '{{sslProtocol}}'
           sslEnabledProtocols: '{{sslEnabledProtocols}}'
-          sslEnabledProtocols: '{{sslEnabledProtocols}}'
-          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}' 
+          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}'
+          saslMechanism: '{{saslMechanism}}' 
         type: '#class:org.apache.camel.component.kafka.KafkaConfiguration'
     from:
       uri: "kamelet:source"


(camel-kamelets) 02/03: Support SSL Endpoint Algorithm in Kafka SSL Kamelets

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch kafka-ssl-endpoint-algo
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit caaff90c983f1954a18825116c687a898810375a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 6 10:21:12 2023 +0100

    Support SSL Endpoint Algorithm in Kafka SSL Kamelets
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-ssl-sink.kamelet.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/kafka-ssl-sink.kamelet.yaml b/kamelets/kafka-ssl-sink.kamelet.yaml
index 786393f0..0793c543 100644
--- a/kamelets/kafka-ssl-sink.kamelet.yaml
+++ b/kamelets/kafka-ssl-sink.kamelet.yaml
@@ -135,8 +135,8 @@ spec:
           sslTruststoreLocation: '{{sslTruststoreLocation}}'
           sslProtocol: '{{sslProtocol}}'
           sslEnabledProtocols: '{{sslEnabledProtocols}}'
-          sslEnabledProtocols: '{{sslEnabledProtocols}}'
-          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}' 
+          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}'
+          saslMechanism: '{{saslMechanism}}' 
         type: '#class:org.apache.camel.component.kafka.KafkaConfiguration'
     from:
       uri: "kamelet:source"


(camel-kamelets) 01/03: Support SSL Endpoint Algorithm in Kafka SSL Kamelets

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch kafka-ssl-endpoint-algo
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 592e4a2fe4af5b312530a8f7634ef55117dca73d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Dec 6 10:19:02 2023 +0100

    Support SSL Endpoint Algorithm in Kafka SSL Kamelets
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-ssl-sink.kamelet.yaml                              | 8 +++++++-
 kamelets/kafka-ssl-source.kamelet.yaml                            | 6 ++++++
 .../src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml       | 8 +++++++-
 .../src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml     | 6 ++++++
 4 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/kamelets/kafka-ssl-sink.kamelet.yaml b/kamelets/kafka-ssl-sink.kamelet.yaml
index b6fc8f2c..786393f0 100644
--- a/kamelets/kafka-ssl-sink.kamelet.yaml
+++ b/kamelets/kafka-ssl-sink.kamelet.yaml
@@ -99,6 +99,11 @@ spec:
         format: password
         x-descriptors:
           - urn:camel:group:credentials
+      sslEndpointAlgorithm:
+        description: The endpoint identification algorithm to validate server hostname using server certificate. Use none or false to disable server hostname verification.
+        title: SSL Endpoint Algorithm
+        type: string
+        default: https
       topic:
         description: Comma separated list of Kafka topic names
         title: Topic Names
@@ -130,7 +135,8 @@ spec:
           sslTruststoreLocation: '{{sslTruststoreLocation}}'
           sslProtocol: '{{sslProtocol}}'
           sslEnabledProtocols: '{{sslEnabledProtocols}}'
-          saslMechanism: '{{saslMechanism}}' 
+          sslEnabledProtocols: '{{sslEnabledProtocols}}'
+          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}' 
         type: '#class:org.apache.camel.component.kafka.KafkaConfiguration'
     from:
       uri: "kamelet:source"
diff --git a/kamelets/kafka-ssl-source.kamelet.yaml b/kamelets/kafka-ssl-source.kamelet.yaml
index 14072f6b..fab7c35c 100644
--- a/kamelets/kafka-ssl-source.kamelet.yaml
+++ b/kamelets/kafka-ssl-source.kamelet.yaml
@@ -118,6 +118,11 @@ spec:
         x-descriptors:
           - urn:camel:group:credentials
           - urn:keda:authentication:password
+      sslEndpointAlgorithm:
+        description: The endpoint identification algorithm to validate server hostname using server certificate. Use none or false to disable server hostname verification.
+        title: SSL Endpoint Algorithm
+        type: string
+        default: https
       sslProtocol:
         description: The SSL protocol used to generate the SSLContext. Default setting is TLS, which is fine for most cases. Allowed values in recent JVMs are TLS, TLSv1.1 and TLSv1.2. SSL, SSLv2 and SSLv3 may be supported in older JVMs, but their usage is discouraged due to known security vulnerabilities.
         title: SSL Protocol
@@ -159,6 +164,7 @@ spec:
           sslTruststoreLocation: '{{sslTruststoreLocation}}'
           sslProtocol: '{{sslProtocol}}'
           sslEnabledProtocols: '{{sslEnabledProtocols}}'
+          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}'
           saslMechanism: '{{saslMechanism}}' 
           groupId: '{{?consumerGroup}}'
           autoOffsetReset: '{{autoOffsetReset}}'
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml
index b6fc8f2c..786393f0 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-sink.kamelet.yaml
@@ -99,6 +99,11 @@ spec:
         format: password
         x-descriptors:
           - urn:camel:group:credentials
+      sslEndpointAlgorithm:
+        description: The endpoint identification algorithm to validate server hostname using server certificate. Use none or false to disable server hostname verification.
+        title: SSL Endpoint Algorithm
+        type: string
+        default: https
       topic:
         description: Comma separated list of Kafka topic names
         title: Topic Names
@@ -130,7 +135,8 @@ spec:
           sslTruststoreLocation: '{{sslTruststoreLocation}}'
           sslProtocol: '{{sslProtocol}}'
           sslEnabledProtocols: '{{sslEnabledProtocols}}'
-          saslMechanism: '{{saslMechanism}}' 
+          sslEnabledProtocols: '{{sslEnabledProtocols}}'
+          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}' 
         type: '#class:org.apache.camel.component.kafka.KafkaConfiguration'
     from:
       uri: "kamelet:source"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml
index 14072f6b..fab7c35c 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml
@@ -118,6 +118,11 @@ spec:
         x-descriptors:
           - urn:camel:group:credentials
           - urn:keda:authentication:password
+      sslEndpointAlgorithm:
+        description: The endpoint identification algorithm to validate server hostname using server certificate. Use none or false to disable server hostname verification.
+        title: SSL Endpoint Algorithm
+        type: string
+        default: https
       sslProtocol:
         description: The SSL protocol used to generate the SSLContext. Default setting is TLS, which is fine for most cases. Allowed values in recent JVMs are TLS, TLSv1.1 and TLSv1.2. SSL, SSLv2 and SSLv3 may be supported in older JVMs, but their usage is discouraged due to known security vulnerabilities.
         title: SSL Protocol
@@ -159,6 +164,7 @@ spec:
           sslTruststoreLocation: '{{sslTruststoreLocation}}'
           sslProtocol: '{{sslProtocol}}'
           sslEnabledProtocols: '{{sslEnabledProtocols}}'
+          sslEndpointAlgorithm: '{{sslEndpointAlgorithm}}'
           saslMechanism: '{{saslMechanism}}' 
           groupId: '{{?consumerGroup}}'
           autoOffsetReset: '{{autoOffsetReset}}'