The problem comes from the fact that the lets scripts module works with symbolic links, and due to a limitation of the operating system, it cannot create them, so the certificate is not installed correctly.
The solution is simple:
nano /etc/group
search for linksafe
add psaadm at the end, it will look like this:
linksafe❌984:psaadm
Finally, add to: /etc/sysctl.conf
fs.protected_symlinks_allow_gid = 984
To give permission to that group to create symbolic links.
Finally, apply with:
sysctl -p