sudo certbot certonly reports missconfigured apache

Im trying to set up letsencrypt certs on my domains and i get all kinds of problems.
After a lot of try and error i managed to install certificates for my domains with sudo certbot certonly -w /home/domain/public_html -d
So in general its working but i cant renew the cert automatically as i will have to install them again manually every time.
Running sudo certbot certonly, it reports apache miss configuration. I dont recall messing with apache configuration.

What i have to check and how can i configure apache properly?

Im on centos + virtualmin updated to latest

Thank you