Closed Darsh-Dev closed 4 years ago
hi @Darsh-Dev
it seems like a TLS server fatal alert.
can you please enable mbedtls logs by enabling the MBEDTLS_DEBUG_C
macro in the mbedtls config file
and if it's required reducing the verbocity level here from 4 to 3 or even 2.
A reason why logging crashes is that you didn't provide enough memory to the logging task
Hi, I have not changed anything in the provided demo in the link other then provisioning related certification and my credentials changes as per this link. logging task's memory is also not tweaked , it is as it is in the demo.
I have also attached the logs by enabling MBEDTLS_DEBUG_C (to level 4) macro in above query.
Thanks
Hi @ayushev,
I am porting optiga trust-m in custom hardware and i have taken reference of this kit for my development, but before trying on my custom hardware, i want to make sure that it works with the XMC4800 kit without any modifications.
Thanks
@Darsh-Dev sorry, I saw at first only the logsnippet you have attached, not the file itself. Unfortunately the log doesn't show the details of the corruption. COuld you please try to reduce the Verbocity level from 4 to 3 or 2? The log should show more or less the whole handsare from the beggining till the end, dump of the data isn't required here.
@ayushev
Resolved the issue. Looks like private key was generated two times and we were trying with older private key and its certs. Now, we are moving on our custom board and taking the XMC4800 code as reference.
Thanks for support.
Hi @Darsh-Dev
just combining the answer to you, and had to remove everything. I duplicated the setup once again. Also wanted to mention that the private key might change, as the certificate isn't locked.
I'm glad that it works
Hi, I am using XMC4800 IoT Connectivity Kit as mentioned here. I am using trust-m secure element to proceed and for that i have followed Option #2: Onboard Private Key Generation from this link.
After doing this above configurations i run the demo, but unfortunate i am getting error below error.
I did enable MBEDTLS_DEBUG_C to level 4 and got attached log , this seems error from AWS server while TLS handshake process.
Infineon_Mbedtls_Log.txt .
So is there anything i m missing here ?
Thanks.