Score:0

Bitnami AWS LAMP stack Bncert tool using new certificate for all domains

cn flag

I am using the AWS Bitnami LAMP AMI on AWS to host multiple WordPress and PHP sites. I am having an issue when I generate a new SSL certificate for a domain using the BNCert tool it’s updating all the vhost apache configuration files for all the other domains to use this certificate which invalidates it on those websites, the server has one IP address and I am using vhost files to configure all the domains.

This is how I am configuring the vhosts in apache:

<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /opt/bitnami/apache2/htdocs/example.com
<Directory “/opt/bitnami/apache2/htdocs/example.com”>
Options -Indexes +FollowSymLinks -MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Jota Martos avatar
cn flag
Bitnami Engineer here, where is the https configuration? You only posted the configuration for HTTP. Please also note that the Bitnami HTTPS configuration tool is designed to work with one VirtualHost so it modifies the default ServerName parameter in the main conf file (apache2/conf/httpd.conf). If you have custom VirtualHosts, you will need to edit that parameter an use "localhost" to not to break your configuration.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.