A simple HTTPS client demo This post has a simple demo program which shows how to program with OpenSSL, unfortunately, I think it is a little dated and not correct. So I refactored it and hope it can be a reference for learning OpenSSL. The code can be downloaded here.