You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/11/18 15:44:14 UTC

[GitHub] [camel-k] starafdar-git opened a new issue #1815: Camel sslContextParameter not working

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:
users@infra.apache.org



[GitHub] [camel-k] squakez commented on issue #1815: Camel sslContextParameter not working

Posted by GitBox <gi...@apache.org>.
squakez commented on issue #1815:
URL: https://github.com/apache/camel-k/issues/1815#issuecomment-865684974


   In latest version 1.5 we're introducing a different way to manage `secret` and `properties`. You may have a look at the examples here to see how we're setting `SSLContextParameter` with the new configuration: https://github.com/apache/camel-k/tree/main/examples/http


-- 
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:
users@infra.apache.org



[GitHub] [camel-k] github-actions[bot] commented on issue #1815: Camel sslContextParameter not working

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1815:
URL: https://github.com/apache/camel-k/issues/1815#issuecomment-994157714


   This issue has been automatically marked as stale due to 90 days of inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


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



[GitHub] [camel-k] github-actions[bot] closed issue #1815: Camel sslContextParameter not working

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1815:
URL: https://github.com/apache/camel-k/issues/1815


   


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



[GitHub] [camel-k] starafdar-git commented on issue #1815: Camel sslContextParameter not working

Posted by GitBox <gi...@apache.org>.
starafdar-git commented on issue #1815:
URL: https://github.com/apache/camel-k/issues/1815#issuecomment-730372986


   @lburgazzoli 
   Thanks for your reply 
    Created a config map for application.properties and added below content:
    quarkus.http.ssl.certificate.key-store-file="/etc/camel/conf.d/_secrets/****/***certificate.p12"
    quarkus.http.ssl.certificate.key-store-file-type="P12"
    quarkus.http.ssl.certificate.key-store-password="****"
   
   then used below command to run but still same 
    kamel run --configmap=configmap --secret=**-cert --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:
users@infra.apache.org



[GitHub] [camel-k] lburgazzoli commented on issue #1815: Camel sslContextParameter not working

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #1815:
URL: https://github.com/apache/camel-k/issues/1815#issuecomment-730305817


   If you are using the latest version of camel-k (1.2.0), the default runtime has been switched to quarkus so best is to follow this guide: https://quarkus.io/guides/http-reference#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.

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