I am trying to add about 24 domains to an existing certificate; all of these domains point to the same site(as in hosted files), so I figure using SANs(Subject Alternate Names) is the way to go.
Am i headed in the right direction? What commands do I use?
I have searched the documentation and cannot find much about SAN and how to add domains to existing certificates.
Thank you for any help, details below:
My domain with a currently valid and working SSL cert is: visitorcentre.com.au
An example domain I want to add it too is: bestofvictoria.com.au
My web server is (include version): Ubuntu1804
The operating system my web server runs on is (include version): Not sure, Linux?
My hosting provider, if applicable, is: Onsite at my office
I can login to a root shell on my machine (yes or no, or I don’t know): No, but I have SSH admin account.
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No.
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0
Since your web server is Apache, taking the example from the link above, you will probably want to replace the certonly part of the command with --apache.
I will get back to you soon; I just attempted to run the certboy certificates command and it seems I need root access, which I don’t currently have. I will get back to you as soon as I have it!
Firstly, _az, that worked perfectly as expected. I have only done 1 domain(so if anything breaks it doesn’t effect too much). I will do the other domains tomorrow.
Thank you so much, your help is indispensable.
rg305.
First command:
ls -l /etc/letsencrypt/live/iconcierge.net.au/
Result:
total 4
lrwxrwxrwx 1 root root 41 Oct 14 02:13 cert_old.pem -> ../../archive/iconcierge.net.au/cert7.pem
lrwxrwxrwx 1 root root 42 Oct 14 02:13 chain_old.pem -> ../../archive/iconcierge.net.au/chain7.pem
lrwxrwxrwx 1 root root 46 Oct 14 02:13 fullchain_old.pem -> ../../archive/iconcierge.net.au/fullchain7.pem
lrwxrwxrwx 1 root root 44 Oct 14 02:13 privkey_old.pem -> ../../archive/iconcierge.net.au/privkey7.pem
-rwxrwxrwx 1 abraham www-data 692 Jul 9 07:02 README