EasyEngine v4 is packed in a Docker container and it does not create cronjob for automatic renewal of your SSL certificates.
They have also slightly changed the command for the SSL creation in ee v4.
First, update to the current version of EE
ee cli update
Then you need to create the cronjob at the host.
sudo ee cron create host --command=‘ee site ssl-renew --all’ --schedule=’@weekly’
This should do the trick.
However, if your certificate expires, the ee site ssl-renew /on/off commands will no longer work.
It could throw this error as well: SSL Renewal Error PHP Fatal error: Uncaught GuzzleHttp
What you need to do is to rename the certificates for the domain name at /opt/easyengine/services/nginx-proxy/certs
to find all the names of the certificates.
tip: renaming in linux is simply mv old.filename new.filename
ee site ssl-renew yoursite.com
and it should work.