Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-2001

Hardcoded alias name in DCAE TLS init container

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not a Bug
    • Icon: Medium Medium
    • Guilin Release
    • Frankfurt Release
    • None

      One can't enroll certificate from AAF's CA different than local. When different CertMan's adapter is used (e.g. with name cmp) DCAE TLS init container reports following error:

       

      + keytool -exportcert -rfc -file /opt/app/osaaf/cacert.pem -keystore /opt/app/osaaf/local/org.onap.dcae.trust.jks -alias ca_local_0
      Enter keystore password:
      *****************  WARNING WARNING WARNING  *****************
      * The integrity of the information stored in your keystore  *
      * has NOT been verified!  In order to verify its integrity, *
      * you must provide your keystore password.                  *
      *****************  WARNING WARNING WARNING  *****************keytool error: java.lang.Exception: Alias <ca_local_0> does not exist
      

      Alias within truststore has CertMan's adapter name.

            baniewsk baniewsk
            baniewsk baniewsk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: