You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2026/08/24 10:06:48 UTC
[I] sqlserver Kamelets: encrypt/trustServerCertificate defaults diverge from the JDBC driver defaults [camel-kamelets]
oscerd opened a new issue, #2953:
URL: https://github.com/apache/camel-kamelets/issues/2953
`sqlserver-sink` and `sqlserver-source` declare these defaults:
```yaml
encrypt:
type: boolean
default: false
trustServerCertificate:
type: boolean
default: true
```
and interpolate them into the JDBC URL:
```
jdbc:sqlserver://{{serverName}}:{{serverPort}};databaseName={{databaseName}};encrypt={{encrypt}};trustServerCertificate={{trustServerCertificate}};
```
The Microsoft SQL Server JDBC driver has defaulted `encrypt` to `true` since version 10.2, so the Kamelets actively override the driver's own default in the weaker direction — and pair it with `trustServerCertificate=true`, which suppresses certificate validation.
Proposal: flip both to the driver-aligned values (`encrypt: true`, `trustServerCertificate: false`), and note the change in the upgrade guide since it affects existing deployments against servers without a trusted certificate.
Affected:
- `kamelets/sqlserver-sink.kamelet.yaml`
- `kamelets/sqlserver-source.kamelet.yaml`
_Claude Code on behalf of Andrea Cosentino_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] sqlserver Kamelets: encrypt/trustServerCertificate defaults diverge from the JDBC driver defaults [camel-kamelets]
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd closed issue #2953: sqlserver Kamelets: encrypt/trustServerCertificate defaults diverge from the JDBC driver defaults
URL: https://github.com/apache/camel-kamelets/issues/2953
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org