Claus Ibsen created CAMEL-27207:
-----------------------------------

             Summary: camel-pulsar - check the host name in the certificate of 
the broker with pulsar+ssl
                 Key: CAMEL-27207
                 URL: https://issues.apache.org/jira/browse/CAMEL-27207
             Project: Camel
          Issue Type: Improvement
          Components: camel-pulsar
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 4.24.0


When the endpoint creates its own PulsarClient, the client keeps the default of 
the Pulsar client, which does not check that the certificate of the broker was 
issued for the host it connects to (tlsHostnameVerificationEnable=false); the 
certificate itself is checked against the trust store. There is no option to 
turn the check on.

Add a hostnameVerification option (default true), as camel-smpp, camel-mina, 
camel-mllp and camel-nats have. Connecting by an IP address, or by a name the 
certificate does not contain, then needs a certificate with that name, or 
hostnameVerification=false. To be noted in the upgrade guide. Done together 
with CAMEL-27196 (tlsTrustCertsFilePath).



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

Reply via email to