Hello,
I want to read the CA certificate stored inside the modem, unfortunately the modem_key_mgmt_read function cannot read a certificate bigger than 2kb even ifCONFIG_AT_CMD_RESPONSE_MAX_LEN is set to 4kb(way more than needed). It does not return any error, just an incomplete certificate.
The modem_key_mgmt_write seems to work because I can get the TLS connection.
I have prepared a sample code to reproduce the problem please see the attached file. The relevant code is inside reproduce_bug function.
NCS 1.3.1
Modem fw 1.2.1
Is there any configuration that I have to do in order to be able to read the full certificate?
Best regards,
Vlad