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

Certificate issue when decision API is invoked

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Istanbul Release
    • Istanbul Release
    • None
    • local lab installed from oom master 15.10.2021

      When namegen service calls the decision API the following problems can be observed in its logs

      2021-10-15 20:02:55.003  INFO 13 --- [nio-8080-exec-1] .o.c.a.m.n.s.e.i.PolicyFinderServiceImpl : Policy Manager  - https://policy-xacml-pdp:6969/policy/pdpx/v1/decision
      org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://policy-xacml-pdp:6969/policy/pdpx/v1/decision": Certificate for <policy-xacml-pdp> doesn't match any of the subject alternative names: [policy, policy-apex-pdp, policy-apex-pdp.onap, policy-api, policy-api.onap, policy-distribution, policy-distribution.onap, policy-drools-pdp, policy-drools-pdp.onap, policy-pap, policy-pap.onap, policy-xacml-pdp, policy-xacml-pdp.onap, policy.api.simpledemo.onap.org]; nested exception is javax.net.ssl.SSLPeerUnverifiedException: Certificate for <policy-xacml-pdp> doesn't match any of the subject alternative names: [policy, policy-apex-pdp, policy-apex-pdp.onap, policy-api, policy-api.onap, policy-distribution, policy-distribution.onap, policy-drools-pdp, policy-drools-pdp.onap, policy-pap, policy-pap.onap, policy-xacml-pdp, policy-xacml-pdp.onap, policy.api.simpledemo.onap.org]
              at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:785)
              at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:660)
              at org.onap.ccsdk.apps.ms.neng.service.extinf.impl.PolicyFinderServiceImpl.makeOutboundCall(PolicyFinderServiceImpl.java:144)
      

      It looks like the certificate is invalid.

            rajewluk Lukasz Rajewski
            rajewluk Lukasz Rajewski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: