Both
Bad pointer
The SSL context pointer or the pointer to hold the certification is empty when retrieving the SSL remote certification property.
Check the context pointer or pointer to hold the certification.
15.5