I am running a web domain against a Bitnami AWS AMI image... I have just changed to an elastic i.p. address and need to set up https for the site. I am running the bncert-tool but get the below error:
###################################################################################################
sudo /opt/bitnami/bncert-tool
----------------------------------------------------------------------------
Welcome to the Bitnami HTTPS Configuration tool.
----------------------------------------------------------------------------
Domains
Please provide a valid space-separated list of domains for which you wish to
configure your web server.
Domain list []: blah.com.
The following domains were not included: www.blah.com.au. Do you want to add them? [Y/n]: y
Warning: The domain 'www.blah.com.au' resolves to a different IP address
than the one detected for this machine, which is '13.210.101.***'. Please fix
its DNS entries or remove it. For more info see:
https://docs.bitnami.com/general/faq/configuration/configure-custom-domain/
#
I have googled around and tried running:
sudo /opt/bitnami/mysql/bnconfig --machine_hostname blah.com
Which does run, but makes no difference.
Can anyone help?
Well I was using bitnami bncert-tool on lightsail I deleted the whole tool and installed again and everything worked fine Here is how I removed any related files to the tool
sudo rm -rf /opt/bitnami/bncert-tool
sudo rm -rf /opt/bitnami/bncert
then I followed these steps to generate the certificate