How to get Server Root CA for S3 Bucket?

naitik
Posts: 19
Joined: Thu Apr 22, 2021 2:04 pm

How to get Server Root CA for S3 Bucket?

Postby naitik » Thu Apr 22, 2021 2:10 pm

Hello,
I am using the ESP32 and I have code that performs the OTA update using HTTPS it uses MbedTLS. Here is repository for code : https://github.com/NaitikSanas/esp32-ota-https
In order to connect with S3 bucket it requires the Server Root CA. I have no clue how to get it. if someone has done similar thing kindly give me some directions.
Thanks.

atlascoder
Posts: 51
Joined: Wed Aug 30, 2017 12:36 pm

Re: How to get Server Root CA for S3 Bucket?

Postby atlascoder » Thu Apr 22, 2021 3:47 pm

openssl s_client -showcerts -servername www.example.com -connect www.example.com:443

https://stackoverflow.com/questions/788 ... m-a-server

then copy and paste all blocks with cerificates ------BEGIN... -------- END in one file and embed this as in the example of IDF.

naitik
Posts: 19
Joined: Thu Apr 22, 2021 2:04 pm

Re: How to get Server Root CA for S3 Bucket?

Postby naitik » Fri Apr 23, 2021 7:53 am

atlascoder wrote:
Thu Apr 22, 2021 3:47 pm
openssl s_client -showcerts -servername www.example.com -connect www.example.com:443

https://stackoverflow.com/questions/788 ... m-a-server

then copy and paste all blocks with cerificates ------BEGIN... -------- END in one file and embed this as in the example of IDF.
Thank You this command worked for me. :)

Who is online

Users browsing this forum: awegel, Bing [Bot], Google [Bot] and 133 guests