How to include truststore certificates to the AMQ Broker to validate RHSSO HTTPS Endpoint ?

Solution Verified - Updated -

Issue

  • How to include truststore certificates to the AMQ Broker to validate RHSSO HTTPS Endpoint ?
  • If we provide HTTPS keycloak url in the authServerUrl of ActiveMQArtemisSecurity CR, the AMQ Broker pod shows the following error:

    WARN  [org.keycloak.adapters.KeycloakDeployment] Failed to load URLs from https://keycloak-host/auth/realms/amq-broker-realm/.well-known/openid-configuration: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    

Environment

  • Red Hat AMQ Broker (AMQ) 7.10.x
  • Red Hat AMQ Broker Operator 7.10.x
  • Red Hat Single-Sign On 7.6.x
  • Red Hat Single-Sign On Operator 7.6.x
  • Red Hat OpenShift Container (Openshift) 4

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