Topic: Error -148 returned from CyaSSL_CTX_load_verify_locations();
I have a PEM file formatted as follows, holding many certificates:
-----BEGIN CERTIFICATE-----
MIIDIzCCAoygAwIBAgIEMAAAAjANBgkqhkiG9w0BAQUFADBfMQswCQYDVQQGEwJV
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
bGljIFByaW1hcnkgQ2V
bcV0oveifHtgPHfNDs5IAn8BL7abN+AqKjbc1YXWrOU/VG+WHgWv
-----END CERTIFICATE-----
etc
The function returns error -148 referenced as: ASN_UNKNOWN_OID_E ASN oid error, unknown sum id. The same file is used by my antivirus and appears to work in that context. Does the function expect each cert to have an X509 identifier?