You need to use trusted-certs.pem that match the Hono server's key/certificate.
Which Docker images are you running for the server? 0.5-M5? If so then you also need to use the trusted-certs.pem file from that release, i.e. switch to the 0.5-M5 tag and copy the trust store file from there to your project.
Mit freundlichen Grüßen / Best regards
Kai Hudalla
Chief Software Architect
Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com
Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn
From: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> on behalf of Thông Nguyễn Quốc <quocthong.ng@xxxxxxxxx>
Sent: Wednesday, June 14, 2017 16:53
To: hono developer discussions
Subject: [hono-dev] honoClient could not create telemetry sender
HI,
Regarding the integration of Hono sender, when I tried to start the sender, it says the honoClient cannot create a telemetry sender due to SSLEngine problem. I copied the trusted-certs.pem into my project directory and started the consumer before running the
sender. I copied the full log into this pastebin file here, to save some space.
https://pastebin.com/iYjQp9C5
Hopefully someone can help me with this. Thank you in advance :)
Best regards,
T. Nguyen
|