Camel jetty endpoint allows several SSL options, but only applicable to consumer (i.e. server side). See Apache Camel Jetty
Is there a way to force the producer to use the certificate without writing a bunch of codes? The remote server requires client authentication.
Looks like coding is the only option. There are two choices that I've tried: configure SSL to (1) JettyComponent or (2) https4 component.
}
Or
}
Then the endpoint URL can be:
or
Note: with the above code, jetty component won't be able to speak clear HTTP anymore.