Bncert tool using new certificate for all domains

Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Secure Connections (SSL/HTTPS)

bnsupport ID: 7a98454b-abf7-8a3a-697c-51e36af3b0b3

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues

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 vhosts 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 vhosts to configure all the domains.

This is how I am configuring the vhosts in apache:

<VirtualHost *:80>
DocumentRoot /opt/bitnami/apache2/htdocs/
<Directory “/opt/bitnami/apache2/htdocs/”>
Options -Indexes +FollowSymLinks -MultiViews
AllowOverride All
Require all granted

Hi @mbasfour,

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 and use “localhost” as ServerName not to break your configuration. Please also double-check that each vhost configuration file is pointing to the right certificate (for example, is pointing to

I hope it helps

Ok, I had to use let’s encrypt certbot to generate and set up certificates instead the bitnami cert tool because I wanted a separate certificate for each site

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