I'm looking for a cross-platform way to list all Root CA certificates installed on the running computer.
I've tried using ssl.enum_certificates("root")
but it is only supported on Windows
Retrieve certificates from Windows’ system cert store. store_name may be one of CA, ROOT or MY. Windows may provide additional cert stores, too. Availability: Windows | Python 3.4+
Almost cross-platform - I've wrote the following function to list installed root CA certs in Linux and Windows. See this for MacOS
Example:
Output: