Importing a Certificate Authority (CA) certificate to Portal for ArcGIS through a web adapter URL using the Python API yields a generic 500 internal error message. A more descriptive error message must be helpful as to why the import failed when the Python method of adding a certificate fails such as a certificate already exists.