Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-244

Business Central can't connect to Kieserves using secure routes with self signed certificates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.4.0.GA
    • 7.3.1.GA, 7.4.0.GA
    • RHPAM
    • Hide

      1. Create a new environment with authoring scenario
      2. Set KIE_SERVER_CONTROLLER_OPENSHIFT_PREFER_KIESERVER_SERVICE to false
      3. Try to deploy a project to the kieserver. This is the generic message that will appear in the logs:

      �[0m�[33m07:17:18,552 WARN  [org.kie.server.controller.impl.KieServerInstanceManager] (Thread-240) Unable to get list of containers from remote server at url https://test-kieserver-ksuta-test.apps.rhba-ksuta.openshift-aws.rhocf-dev.com:443/services/rest/server due to org.kie.server.common.rest.NoEndpointFoundException: No available endpoints found
      
      Show
      1. Create a new environment with authoring scenario 2. Set KIE_SERVER_CONTROLLER_OPENSHIFT_PREFER_KIESERVER_SERVICE to false 3. Try to deploy a project to the kieserver. This is the generic message that will appear in the logs: �[0m�[33m07:17:18,552 WARN [org.kie.server.controller.impl.KieServerInstanceManager] ( Thread -240) Unable to get list of containers from remote server at url https: //test-kieserver-ksuta-test.apps.rhba-ksuta.openshift-aws.rhocf-dev.com:443/services/ rest /server due to org.kie.server.common. rest .NoEndpointFoundException: No available endpoints found
    • Workaround Exists
    • Hide

      Use services instead of routes by defaulting KIE_SERVER_CONTROLLER_OPENSHIFT_PREFER_KIESERVER_SERVICE to true

      Show
      Use services instead of routes by defaulting KIE_SERVER_CONTROLLER_OPENSHIFT_PREFER_KIESERVER_SERVICE to true
    • Low

      When using secure routes to fetch Kieserver APIs from Business Central on authoring scenarios, using self signed certificates, the client fails to connect because the public key isn't found in the trustore:

      12:37:49,512 DEBUG [org.kie.server.client.balancer.LoadBalancer] (pool-51-thread-1) Url 'https://test-kieserver-ksuta-test.apps.rhba-ksuta.openshift-aws.rhocf-dev.com:443/services/rest/server' is still offline due to PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      

            rhn-support-zanini Ricardo Zanini Fernandes
            rhn-support-zanini Ricardo Zanini Fernandes
            Jakub Schwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: