JKrehling commented on issue #1728:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1728#issuecomment-3293502837

   So it looks like 
   "camel.sink.endpoint.passphrase" is the thing to use but its weird since 
both stores require the same password 
   
           } else {
               char[] pw = configuration.getPassphrase() != null ? 
configuration.getPassphrase().toCharArray() : null;
   
               SSLEngineFactory sslEngineFactory;
               if (configuration.getKeyStoreResource() != null || 
configuration.getTrustStoreResource() != null) {
                   sslEngineFactory = new SSLEngineFactory();
                   answer = 
sslEngineFactory.createSSLContext(producer.getContext(),
                           configuration.getKeyStoreFormat(),
                           configuration.getSecurityProvider(),
                           configuration.getKeyStoreResource(),
                           configuration.getTrustStoreResource(),
                           pw);
               } else {
                   answer = SSLContext.getDefault();
               }
           }
   
           return answer;
   
   
   And the documentation lists 
   
   Password setting to use in order to encrypt/decrypt payloads sent using SSH 
but i guess thats a typo meaning ssl 🤦 
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to