Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • SSL certifcate in camel-http

    Posted on

    We want to redirect the request from client to service provider that provides the service as https protocol.
    So, how to configure SSL for client in camel route using camel-http, also how to skip hostname validation in the url

    our camel code looks like this:
    context.xml

    and from java file we set the header:

    newURL = "https://providerip/operationName/?bridgeEndpoint=true&throwExceptionOnFailure=false&httpClient.cookiePolicy=ignoreCookies";

    exchange.getIn().setHeader(Exchange.HTTP_URL, newURL);

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat