Both
Could not extract extension information from remote certificate
Getting the remote certificate’s extensions information fails, SSLExtractExtensionIndex(), SSLGetPeerCertificateRef(), sybcsi_x509_get_extension_by_index(), or sybcsi_x509_list_get_element() returns fail.
Check the correctness of remote certificate.
15.5