I currently have a cert for a subdomain called demo.example.org, with a vhost in Apache that is correctly configured and working perfectly.
If I run the installer ./letsencrypt-auto --apache it will try to look for a vhost that corresponds with my requested domain, but what I actually want is a certificate to use for a mail server like Dovecot i.e.
I saw someone write that I could use the standalone version to set up certificates without having to rely on Apache or shut it down, but for some reason it won’t work for me.
What I was thinking was this; what if I set up a virtualhost that is mail.example.org and get a certificate for it, but instead of actually using the certificate there I use it for Dovecot? If I want to set up a cronjob to auto renew the certs, I can’t have the installer request any feedback I suppose.
How does that sound? If you think it might work, do you have any suggestions as to how I can have the vhost and not have Apache serve it as normal?
Also; I already set up a set of certificates for my actual website, which is stored in a folder by its domain name. Will issuing a new certificate with the same domain name, even though the subdomain differs, somehow mess with my current certificates?
Thanks for all help and suggestions.