Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3234

BasicAuthRestClientService Certificate exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • Honolulu Release
    • cds
    • None

      When trying to use basic auth, thus no keystore or trustore configured and trying to connect to a service via REST next exception is thrown

      "status": {
       "code": 500,
       "eventType": "EVENT_COMPONENT_FAILURE",
       "timestamp": "2021-03-23T15:43:15.427Z",
       "errorMessage": "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
       "message": "failure"
       },
      

      Expected fix is to make BasicAuthRestClientService trust all certificates

            cdgasparini cdgasparini
            cdgasparini cdgasparini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: