Returns a list of dicts with information of loaded CA certs. If the optional argument is True, returns a DER-encoded copy of the CA certificate. NOTE: Certificates in a capath directory aren't loaded unless they have been used at least once.
ssl/SSLContext.get_ca_certs
SSLContext.get_ca_certs