Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

AWS IoT Core Client on Raspberry Pi

georgetsag
2019-08-23
2019-08-27
  • georgetsag - 2019-08-23

    Hello,

    I am trying to use the ASW IoT Core Client Library from the store on a Raspberry Pi. I have followed all the instruction on the PDF for this library, but I cannot connect to the Broker. I did the same procedure on a Windows PC and everything was ok.

    I get the xBusy = TRUE as shown at the photo without any errors and I have no connection. This state remains for ever.
    Also, I attached the log file in this post.

    What can be the problem?

    Thanks in advance.

    IMG: IoTCodesys.png

    logfie.xml [31.17 KiB]

     
  • georgetsag - 2019-08-27

    I checked the certificate of the Amazon and I think I have the problem with the expiration date of the certificate. The certificate is correct. It is valid until 01/01/2050. This is shown at the security screen ->Devices (photo1). But when I run the command cert-getcertlist own, I get that the certificate is valid until 4/6/1974. A date at the past. (photo2).

    My raspberry pi has correct timezone and time.

    Is this a bug of the codesys when I import the certificate?

    IMG: photo2.jpg

    IMG: photo1.jpg

     

Log in to post a comment.