Certificate Chain With OpenSSL
Checking A Remote Certificate Chain With OpenSSL