Hello All,
I implemented the HTTPS call to Amazon using the certificate, and the POST request returns the device ID.
Like you docs: Exercise 2 - Adding TLS to the HTTP connection - Nordic Developer Academy
However, the project we are using does not use Amazon AWS but instead uses Firebase.
I imported the Root GTS R1 certificate (downloadable online), converted it using the appropriate script implemented in CMakeLists.txt.
When I run the code, in debug mode, when loading the certificate, I get this error:
https_client: IPv4 address of server found 216.239.36.54 Socket created <err> net_sock_tls: Failed to parse CA certificate, err: -0x3b00 https_client: Connect failed : 22
What does this error mean?
I am fairly sure the CA certificate is correct, since I followed the same procedure I used for Amazon.
Also, using SSL commands via the command line, I noticed that Firebase has 3 certificates, while the Nordic link only has 1 (the Amazon one).
Could this be the problem?
Has anyone managed to connect to Firebase?
I am open to any kind of collaboration.
P.S.
When I call Firebase, I am calling the Firebase Functions (HTTPS POST, GET, etc.).
Thanks for any type of support.
Best regards