This is an automated email from the ASF dual-hosted git repository.
oscerd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 91ac28a7a Fix #2953: align sqlserver Kamelet
encrypt/trustServerCertificate defaults with the JDBC driver (#2961)
91ac28a7a is described below
commit 91ac28a7a0358cb4c0d2acf812f734db94222b12
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Aug 24 18:39:07 2026 +0200
Fix #2953: align sqlserver Kamelet encrypt/trustServerCertificate defaults
with the JDBC driver (#2961)
The Microsoft SQL Server JDBC driver has defaulted encrypt to true since
version 10.2. Both sqlserver Kamelets declared encrypt=false and
trustServerCertificate=true, overriding the driver default in the weaker
direction and suppressing certificate validation.
Flip both to the driver-aligned values and clarify the
trustServerCertificate description.
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
---
kamelets/sqlserver-sink.kamelet.yaml | 7 ++++---
kamelets/sqlserver-source.kamelet.yaml | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/kamelets/sqlserver-sink.kamelet.yaml
b/kamelets/sqlserver-sink.kamelet.yaml
index 788fa173b..7ab04eea7 100644
--- a/kamelets/sqlserver-sink.kamelet.yaml
+++ b/kamelets/sqlserver-sink.kamelet.yaml
@@ -75,12 +75,13 @@ spec:
title: Encrypt Connection
description: Encrypt the connection to SQL Server.
type: boolean
- default: false
+ default: true
trustServerCertificate:
title: Trust Server Certificate
- description: Trust Server Certificate
+ description: Trust the server certificate without validating it
against a
+ certificate authority. Intended for development and test
environments only.
type: boolean
- default: true
+ default: false
types:
in:
mediaType: application/json
diff --git a/kamelets/sqlserver-source.kamelet.yaml
b/kamelets/sqlserver-source.kamelet.yaml
index 7ae3cb526..57118bfca 100644
--- a/kamelets/sqlserver-source.kamelet.yaml
+++ b/kamelets/sqlserver-source.kamelet.yaml
@@ -80,12 +80,13 @@ spec:
title: Encrypt Connection
description: Encrypt the connection to SQL Server.
type: boolean
- default: false
+ default: true
trustServerCertificate:
title: Trust Server Certificate
- description: Trust Server Certificate
+ description: Trust the server certificate without validating it
against a
+ certificate authority. Intended for development and test
environments only.
type: boolean
- default: true
+ default: false
delay:
title: Delay
description: The number of milliseconds before the next poll