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.
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
logfie.xml [31.17 KiB]
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?