Good afternoon.
I am a microcontroller product designer. I ported MBED TLS to STM 32L471 microcontroller. While I do not understand how can I use the certificate. My customer gave me a certificate in the form of a center2m.com.cer file. The file contains the 3  fields:
 
-----BEGIN CERTIFICATE-----
MIIGVzCCBT+gAwIBAgIMEnU/
...
-----END CERTIFICATE-----
 
-----BEGIN CERTIFICATE-----
MIIET
...
-----END CERTIFICATE-----
 
-----BEGIN CERTIFICATE-----
MIDDX
...
-----END CERTIFICATE-----
 
tell me please, how to port my certificate to certs.c file. The question is which fields to insert where? Please help. No one can answer this question except you.
 
Sincerely,
development engineer,
Shabrov Dmitrii