Core MQTT and device certificates - JWT how to

Hello!

I have connected my MQTT device with paho C lib an device certificates (X509) to Core MQTT Cumulocity. So far so good, but how does it work to get the JWT for later https request like firmware and logfiles down an uploads?

When i try a https request, i get “Host requires authentication” what is correct, because I have not provided the JWT, but how do i get the JWT over MQTT to use with later https requests ?

In the JAVA MQTT demo under Core MQTT - Cumulocity documentation I can’t find something special, so how should this be done with Core MQTT to cumulocity?

Thanks for help and information how to do this,

regards manfred

The process to retrieve a JWT via the Core MQTT is described here, Device integration using MQTT - Cumulocity documentation

1 Like

Ahh, thanks a lot, somehow I overead this. regards manfred

1 Like