HTTPS server challenges
This chapter should serve only as an introduction to TLS/SSL server programming. There is much more to learn about secure network programming. Before deploying a secure HTTPS server with OpenSSL, it is essential to review all the OpenSSL documentation carefully. Many OpenSSL functions have edge cases that were ignored in the illustrative code for this chapter.
Multiplexing can also be complicated with OpenSSL. In typical TCP servers, we have been using the select() function to indicate when data is available to be read. The select() function works directly on the TCP socket. Using select() on a server secured with TLS/SSL can be tricky. This is because select() indicates when data is available at the TCP level. This ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access