Camel-HTTP component with camel:sslContextParameters configuration resulting "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty"

Solution Verified - Updated -

Issue

  • Camel-HTTP component with camel:sslContextParameters configuration using property placeholder does not work;
  • It throws java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty exception.

Environment

  • Camel for Spring Boot
    • 3.20

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content