Answer the question
In order to leave comments, you need to log in
How to implement an HTTPS server?
Good afternoon. Of the tools, only sockets and bare C, it turned out to implement an HTTP server, but what to do with HTTPS is not clear
Telegram API requires only HTTPS to work, how to process data, from which side to enter?
Answer the question
In order to leave comments, you need to log in
Take the OpenSSL library and use it like a plugin. That is, raise the connection on a bare socket, without encryption, and then drive the data through the library, like a gasket. Encryption is enabled in an already running connection upon request. A good example is the implementation of OpenSSL support in the Synapse library , we use it in a commercial project, but it is in Delphi.
Use as a reverse proxy HAProxy/nginx/lighttpd, configured to work with an SSL certificate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question