Page 1 of 1

openSSL HTTPS

Posted: Tue May 15, 2018 2:56 pm
by snahmad75
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

Re: openSSL HTTPS

Posted: Wed May 16, 2018 11:18 am
by snahmad75
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.

Re: openSSL HTTPS

Posted: Wed May 16, 2018 1:06 pm
by WiFive
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.