Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-2765

Sparky cannot communicate with search-data-service (certificate issue)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Frankfurt Release
    • El Alto Release
    • None
    • A&AI Sprint 30, A&AI Sprint 31, A&AI Sprint 32

      Error seem when sparky is trying to contact search-data-service

       

      2020-01-06T20:05:31.848Z|3287559690|qtp602423811-24|AAIUI|AAIUI|AAIRESTClient|ERROR|AC2002E|AC2002E Error during POST operation to endpoint at url = https://aai-search-dat

      a:9509/services/search-data-service/v1/search/indexes/entity-search-index/query with error = javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java

      .security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty|

      I noticed that the oom charts for sparky is trying to use tomcat_keystore

      https://gerrit.onap.org/r/gitweb?p=aai/oom.git;a=blob;f=components/aai-sparky-be/resources/config/application.properties;h=108f9ef7b594d36077c165fc74ffb3ab097061b7;hb=refs/heads/master

      searchservice.client-cert=client-cert-onap.p12
      https://gerrit.onap.org/r/gitweb?p=aai/oom.git;a=blob;f=components/aai-sparky-be/resources/config/application.properties;h=108f9ef7b594d36077c165fc74ffb3ab097061b7;hb=refs/heads/master#l32searchservice.client-cert-password=1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
      searchservice.truststore=tomcat_keystore

      The first thing to try could be to bring back the self-sign tomcat_keystore (if this is acceptable)

      Otherwise, we will need to make use of AAF for both sparky and search-data-service.
      (This change would also affect the data-router/search-data-service interaction) 

       

            rajeevme rajeevme
            fpaquett fpaquett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: