-
Bug
-
Resolution: Done
-
Medium
-
Dublin Release
-
None
-
DMAAP-Dub-08-(03/22-04/04)
It would be better to connect with certificates but the certificates are not present in the new dbc-client …
Bus controller do not support certificates now, but when we will implement cadi then it will.
However curl can not use jks or p12 files. Curl accept pem files. So the pem files need to be extracted from p12 file with openssl. Openssl is not present in the dbc-client now…
Example:
openssl pkcs12 -in /opt/app/osaaf/local/org.onap.dmaap-bc.p12 -out ca.pem -cacerts -nokeys
openssl pkcs12 -in /opt/app/osaaf/local/org.onap.dmaap-bc.p12 -out client.pem -clcerts -nokeys
openssl pkcs12 -in /opt/app/osaaf/local/org.onap.dmaap-bc.p12 -out key.pem -nocerts
then
curl --key key.pem --cacert ca.pem --cert client.pem -v -X GET -H "Content-Type: application/json" http://dmaap-bc:8080/webapi/dmaap
- mentioned in
-
Page Loading...