File tree Expand file tree Collapse file tree
docs/user-manual/modules/ROOT/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -379,6 +379,57 @@ available signature schemes. The excludes patterns have precedence over
379379the includes patterns. No default filtering is applied to signature
380380schemes.
381381
382+ === Configuring SSLContextParameters in XML and YAML DSL
383+
384+ *Available as of Camel 4.19*
385+
386+ You can setup SSL in XML DSL as follows:
387+
388+ [tabs]
389+ ====
390+
391+ XML::
392+ +
393+ [source,xml]
394+ ----
395+ <camel xmlns="http://camel.apache.org/schema/xml-io">
396+ <sslContextParameters id="mySSL" keyStore="server.p12" keystorePassword="changeit"
397+ trustStore="truststore.p12" trustStorePassword="changeit"/>
398+
399+ <route id="sslRoute">
400+ <from uri="direct:ssl"/>
401+ <to uri="mock:ssl"/>
402+ </route>
403+ </camel>
404+ ----
405+
406+ YAML::
407+ +
408+ [source,yaml]
409+ ----
410+ - sslContextParameters:
411+ id: mySSL
412+ keyStore: server.p12
413+ keystorePassword: changeit
414+ trustStore: truststore.p12
415+ trustStorePassword: changeit
416+ - from:
417+ uri: "direct:ssl"
418+ steps:
419+ - to: "mock:ssl"
420+ ----
421+
422+ Spring Boot::
423+ +
424+ [source,properties]
425+ ----
426+ camel.ssl.key-managers.key-store.password=changeit
427+ camel.ssl.key-managers.key-store.resource=server.p12
428+ camel.ssl.trust-managers.key-store.password=changeit
429+ camel.ssl.trust-managers.key-store.resource=truststore.p12
430+ ----
431+ ====
432+
382433== Post-Quantum Cryptography (PQC) TLS Configuration
383434
384435Starting with Camel 4.19, Apache Camel supports Post-Quantum Cryptography (PQC) at the TLS transport layer.
You can’t perform that action at this time.
0 commit comments