Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Ok it looks like the problem lies in the certificate itself. I created a free"App Service Managed Certificate" and entered the thumbprints of this certificate and now it works.
We have a wildcard certificate issued by COMODO. It seems that this one is issued or the .pfx file is generated with options not compatible with the "Microsoft.AspNetCore.DataProtection" service we use in our application, which uses the private key of the certificate, which strangely could not be read.
I hope maybe this information will help some other people finding the same issue.
Thank you very much for your help and your time!