This content has been marked as final. Show 3 replies
Please post the CA cert you are trying to read
Attached (actually a PEM file).
The line endings of your cert are incorrect.
Im trying to setup a CA store with wiced_tls_init_root_ca_certificates (taking a valid CA cert from my system), but it fails inside x509parse_crt with error -416.
Unfortunately, there is no source for the SSL library bundled with the SDK (besl?).
Is there an API reference for it somewhere to lookup error codes?
WICED currently only supports reading .pem formatted TLS certificates per RFC1421
Certificates in this format require /r/n line endings.