I have a series of webservices exposed using the Camel Jetty component running in ServiceMix (Fuse). Something like:
<route>
<from uri="jetty:http://0.0.0.0:25100/service1"/>
...
</route>
<route>
<from uri="jetty:http://0.0.0.0:25100/service2"/>
...
</route>
I want to be able to change them to use https/ssl but I need to be able to use a different key/cert for each route. I've looked at the Jetty Component documentation and it does a decent job of describing how to configure the Jetty Component globally to use SSL but there doesn't seem to be a way to specify different certificates for different routes? From Jetty Component Documentation:
<bean id="jetty" class="org.apache.camel.component.jetty.JettyHttpComponent">
<property name="sslSocketConnectorProperties">
<properties>
<property name="password"value="..."/>
<property name="keyPassword"value="..."/>
<property name="keystore"value="..."/>
<property name="needClientAuth"value="..."/>
<property name="truststore"value="..."/>
</properties>
</property>
</bean>
Is it possible to use different certificates per route?