X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN
openssl Self-signed certificate in chain
The certificate chain contains a self-signed root that is not in the trusted certificate store.
The certificate chain contains a self-signed root that is not in the trusted certificate store.