-
Task
-
Resolution: Done
-
Medium
-
None
-
None
-
None
-
None
Getting SSL error with "SSL certificate problem: unable to get local issuer certificate" while running some of the example curl commads for few operations under Pre Service instantiation Operations section.
Solution:
To fix this issue, provide -k option in the curl command to avoid SSL certificate issue for those operations.
One of the Failure request:
curl -X PUT \ > https://aai.api.sparky.simpledemo.onap.org:30233/aai/v13/business/owning-entities/owning-entity/8874891f-5120-4b98-b452-46284513958d \ > -H 'Accept: application/json' \ > -H 'Authorization: Basic QUFJOkFBSQ==' \ > -H 'Content-Type: application/json' \ > -H 'X-FromAppId: AAI' \ > -H 'X-TransactionId: get_aai_subscr' \ > -H 'cache-control: no-cache' \ > -d '{ > "owning-entity-name": "OE-Generic", > "owning-entity-id": "8874891f-5120-4b98-b452-46284513958d" > }' curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
The above command output with -k option:
curl -k -X PUT https://aai.api.sparky.simpledemo.onap.org:30233/aai/v13/business/owning-entities/owning-entity/8874891f-5120-4b98-b452-46284513958d -H 'Accept: application/json' -H 'Authorization: Basic QUFJOkFBSQ==' -H 'Content-Type: application/json' -H 'X-FromAppId: AAI' -H 'X-TransactionId: get_aai_subscr' -H 'cache-control: no-cache' -d '{ "owning-entity-name": "OE-Generic", "owning-entity-id": "8874891f-5120-4b98-b452-46284513958d" }'
- mentioned in
-
Page Loading...