I have used Let's Encrypt to allow me to set up SSL/HTTPS on my server.
The issue is that I run a number of sub-domains too, which I included on the initial install, but looking back now - the certificate details show that it was issued to one of my sub-domains.
I'm wanting to change this to my base domain, but I'm just not sure how to do this.
I have tried running letsencrypt-auto --apache -d example.me -d www.example.me -d mysql.example.me
This went through the process but did not change anything, as the certs are already issued.
How can I change the certificates now, or reissue them so that they are issued to my base domain?
You can simply force renewal:
./certbot --apache -d example.me -d www.example.me -d mysql.example.me --force-renewal