openSSL HTTPS

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

openSSL HTTPS

Postby snahmad75 » Tue May 15, 2018 2:56 pm

Hi,

I have Https Server running with open SSL. I have certificate

https://www.boost.org/doc/libs/develop/ ... ficate.hpp


Can I used same certificate for OTA secure HttpClient and HttpServer WebSocket to run Https server

I need to run these Secured HTTP server and client for OTA to check RAM usage before go into production.

I am hoping I can squeeze into total 512 Kb RAM. Any input will be appreciated.

Does C++ HTTP Server works with open SSL session?

Thanks,
Naeem

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: openSSL HTTPS

Postby snahmad75 » Wed May 16, 2018 11:18 am

As we are planning to selling esp32 device commercially later with Http secured server (SSL) running on each device.

Do we need to generate unique certificate for each device we sell or one certificate can work for whole product.
How much it cost to get SSL certificate.

Anyone knows generate SSL certificate for free for limited time use for development not for commercial use.

I am using these certificate and private key to test https session between PC and esp32.

https://www.boost.org/doc/libs/develop/ ... le/common/

On PC end I am using boost beast C++ library which uses openSSL.

I will need to test my esp32 C++ Http Server class with SSL enable. use it from browser to

Can anyone shows me steps need to be done to make secured Http server working.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: openSSL HTTPS

Postby WiFive » Wed May 16, 2018 1:06 pm

I think you better do more research on certificate authority and chain of trust. Your device probably will have private ip address so it can't get a certificate from a public certificate authority meaning you will have to either create your own certificate authority and get the user to add that root certificate to all their devices or use a wildcard certificate.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 136 guests