ArduinoBearSSL - adding root certificates

Hi everyone,

Does anyone know how to add a root certificate to the ArduinoBearSSL library's trust anchors list?

I saw a note on the bearssl documentation that says you can use the "brssl command-line tool" but I have no idea where to even start with that...

That file is generated from the contents of this directory:

You should build the Bear SLL project (BearSSL - Main) on your PC to get the "brssl" program. Navigate to your extras/TrustAnchors directory and run brssl with the 'chain' argument to generate a new BearSSLTrustAnchors.h file that you can put in your source directory.

Hi, sorry but I am also trying to figure out how to make work the ArduinoBearSSL library using a certificate to authenticate a client with a cloud server with a Public Key. I would like to use secp256r1 elliptic curve but I don't have an idea how to implement it.

I followed the links you provided but they don't lead me to the instructions to install or do something to create the Certificates and nor to use them. Could you share some info about this, if possible of course?

Thank you in advance.