arrowhead-f / arrowhead-f/client-cpp

How to use this example in a different Cloud

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi everyone, I am trying to use this example for my own Cloud, but the registration is every time "unsuccessful".
How I was trying to achieve this:

I installed the "core-java-spring" project by compiling the code (https://github.com/arrowhead-f/core-java-spring#quickstart_compile)
After all the building I installed all the .deb from the core-java-spring/target/ directory

Now to the new cloud, I generated new certificates with this project https://bitbucket.org/thingwave/certificate-generation/src/master/ it worked really well, I also installed these with the install script.
I restarted the arrowhead framework with systemctl restart arrowhead-*
Everything worked and I could login in all services via the web interface and swagger.

Back to the client-cpp. I already got Provider and Consumer running for the testcloud. For my Cloud I tried to get the provider ready. So I started to generate new .pem files in keys2 new with the gen_certs.sh from keys (I reconfigured it). After that I had all new .pem files. I tried first to don't change the names of the .pem so nothing in code could go wrong, I also changed the .ini file to point to my localhost arrowhead system.
But its not working and I don't know why.
![image](https://user-images.githubusercontent.com/26628707/95758976-677a3280-0ca9-11eb-9731-0962ec069225.png)

I also tried to register it with the web access, I used the .p12 of the service and used in the web access with swagger the same request which the provider used in the screenshot and it worked, but I really don't know why the the Provider can't manage it by it self.
Please help

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.