-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camel sslContextParameter not working #1815
Comments
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 |
@lburgazzoli then used below command to run but still same |
In latest version 1.5 we're introducing a different way to manage |
This issue has been automatically marked as stale due to 90 days of inactivity. |
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
The text was updated successfully, but these errors were encountered: