SSLClient icon indicating copy to clipboard operation
SSLClient copied to clipboard

Alternative way of loading Certs

Open msentuerk opened this issue 3 years ago • 0 comments

I searching for an alternative way of certificates for this SSLClient, instead of the loading it with PROGMEM. I´ve seen some functions like loadCA() etc. which is expecting a stream as parameter. I´ve tried it with several AWS IoT certificate files from SPIFFS folder but it won’t work. The error contains this:

X509 - The CRT/CRL/CSR format is invalid

First, I thought the problem is the format of the certificates. But in contrast the version with the PROGMEM from a header file is working.

Maybe someone has an alternative way of loading the certificates from the flash.

msentuerk avatar Jul 28 '22 00:07 msentuerk