We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.
01-26-2022 08:16 AM
Hi,
I would like to run the sample SendDataOverMQTT to cuse TLS and set
#define APP_MQTT_SECURE_ENABLE 1
Then I updated the macro SERVER_CA in SDK/xdk110/Common/certs/Custom/ServerCA.h and cleaned, built and flashed the sample to my XDK.
But when I see the debug output it still uses some preconfigured Certificate.
INFO | XDK DEVICE 2: Connected to WPA network successfully
INFO | XDK DEVICE 2: cert. version : 3
INFO | XDK DEVICE 2: serial number : A6:B4:3E:B7:00:AE:56:25
INFO | XDK DEVICE 2: issuer name : C=in, ST=tn, L=cbe, O=bosch, OU=rbei, CN=192.168.1.140, emailAddress=priygovind17
INFO | XDK DEVICE 2: subject name : C=in, ST=tn, L=cbe, O=bosch, OU=rbei, CN=192.168.1.140, emailAddress=priygovind17
INFO | XDK DEVICE 2: issued on : 2019-01-29 11:40:07
INFO | XDK DEVICE 2: expires on : 2024-01-29 11:40:07
INFO | XDK DEVICE 2: signed using : RSA with SHA1
INFO | XDK DEVICE 2: RSA key size : 2048 bits
INFO | XDK DEVICE 2: basic constraints : CA=true
I tried the same a Server_CA.h in my own source folder. No success so far!
How to use my own certificat?
Regards Christof