I already repaired it. I had a Sectigo certificate installed in the domain that I was going to use. What I did was remove the certificate and install Let's encrypt once installed. What I did was change the domain certificate to Sectigo and it is working perfectly.
Thank you