The specified certificate could not be loaded because connector was unable to obtain subject or issuer name from certificate ...

The specified certificate could not be loaded because connector was unable to obtain subject or issuer name from certificate structure and converts it to a null-terminated character string.
 
Following is an algorithm used to search for name:
 
If the certificate has a Subject Alternative Name extension for issuer, Issuer Alternative Name, search for first DNSName choice. 
If the DNSName choice is not found in the extension, search the Subject Name field for the CN OID, "2.5.4.3". 
 
If the DNSName or CN OID is found, return the string. Otherwise, return an empty string.