Multiple certs for multiple websites on one server?

Let me explain.
I have 2 websites running on my one server (Apache 18.04 LTS).
The sites are also in different directories.
Example: has a directory of /var/www/site1/ has a directory of /var/www/site2/

I want each site to have a different cert.
Example: has a cert for has a cert for

What command do I do to achieve this?

Any help will be appreciated :slight_smile:


certbot --apache -d -d


certbot --apache -d -d

The Apache plugin will deal with figuring out the web roots and everything for you.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.