Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 9dab5e5a-4823-ef03-e5a6-3dc818435389
I am on AWS Lightsail, using the LAMP stack to host multiple websites (virtual named hosts) on a single instance. Ideally, I'd like each site to have it's own certificate, or at the very least have a single common certificate for the server without identifying all the domain-names on that server.
I like the simplicity of using bncert-tool to create each site's cert, but I'm finding it replaces all of the SSLCertificateFile fields for every .conf file in my apache/conf/vhosts folder. I also notice the crontab generated by bncert-tool will only renew the last generated cert.
In theory, I guess I can use bncert-tool to create each site's cert, then edit each vhost.conf file to use the specific cert, and then edit the crontab to ensure each cert is renewed... but there must be a better way?
I've tried using bncert-tool to generate a single cert, with all of my domain names, but the issue with that is if someone views the cert details on a browser, they can see all of the (unrelated website) domains listed.