[ 
https://issues.apache.org/jira/browse/CAMEL-27747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen reassigned CAMEL-27747:
-----------------------------------

    Assignee: Claus Ibsen

> camel-pg-replication-slot: add TLS options for the connection
> -------------------------------------------------------------
>
>                 Key: CAMEL-27747
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27747
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-pg-replicationslot
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> The pg-replication-slot endpoint builds the JDBC connection 
> ({{jdbc:postgresql://host:port/db}}) with only the user, the password and the 
> replication properties. There is no option to configure TLS, so the default 
> of the PostgreSQL JDBC driver always applies: sslmode {{prefer}}, which uses 
> TLS when the server offers it but does not check the server certificate, and 
> uses a plain connection otherwise.
> Add TLS options for the connection:
> * {{sslMode}}: disable, allow, prefer, require, verify-ca or verify-full. Not 
> set by default, so the driver default stays as today.
> * {{sslRootCert}}: the root certificates to check the server certificate with.
> * {{sslCert}}, {{sslKey}} and {{sslPassword}} (secret): a client certificate.
> {{sslContextParameters}} is not added: pgjdbc 42.7 creates its SSL socket 
> factory from a class name ({{sslfactory}}), with only string connection 
> properties, so a Camel SSLContext cannot be passed in cleanly.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to