starafdar-git opened a new issue #1815:
URL: https://github.com/apache/camel-k/issues/1815


   Hi Team,
   I am trying to use ssl certificate to make rest call , but seems its not 
working as expected however its working on spring boot with camel:
   #Code snippet for updating ssl context parameter
                CamelContext camelContext = getContext();
                KeyStoreParameters ksp = new KeyStoreParameters();
                ksp.setResource("/etc/camel/conf.d/_secrets/****/*****.p12");
                ksp.setPassword("*****");
   
                KeyManagersParameters kmp = new KeyManagersParameters();
                kmp.setKeyStore(ksp);
                kmp.setKeyPassword("*****");
                SSLContextParameters scp = new SSLContextParameters();
                scp.setKeyManagers(kmp); 
                camelContext.setSSLContextParameters(scp);
   
   #command :
    kamel run --secret=*** --dependency=camel-http --dependency=camel-undertow  
***Proxy.java --dev
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to