Python requests CA certificates as a string
问题 Currently we're using an approach of putting CA Certificates on the server to access third party APIs. certificate_path = os.path.join(CERT_PATH, 'cacert.pem') certificate_key_path = os.path.join(CERT_PATH, 'cacert.key') response = requests.get(url, cert=(certificate_path, certificate_key_path)) This works,But we're looking for instead of storing CA certificates on the server, store in the Accounts Table in the database for security purposes (security cause raised by Customer). So the