[openssl-users] porting socket ssl python to c++

Wim Lewis wiml at omnigroup.com
Wed Aug 1 19:59:13 UTC 2018

This pair of articles is quite old, so some of the API details have changed, but it has an overall description of how to use OpenSSL:

The link to the example code is broken, but you can find it here:

One thing to be aware of is that the check_cert() function is just a sketch of what a real check_cert() function would need to do (which depends on your application, to some extent). There are some functions that have been added to OpenSSL since then that, AIUI, can replace having to do those checks in your own check_cert():

More information about the openssl-users mailing list