At the end of the autoconfiguration process on uploading the certificate I got the error "Failed to сreate сertificate". What could be the reason for getting this error?
As Apple has changed how its Developer program is structured for “organizations” (as opposed to individuals) starting February 12, 2019, some users may experience issues with updating the certificates due to the restricted access, whilst before that, they could easily renew their certificates.
In case, you got "Failed to сreate сertificate" error, ask the Apple Developer account holder to provide you with App Manager role to be able to work with certificates. This should resolve the issue.