How do I update the uc-engine-host after installation and have the web UI certificate update to the new hostname?
I am looking forward to getting wazo up and running but, as the saying goes, “I’ve got some learning to do” first.
I am trying to install wazo for a simple home-office use but I did not properly understand the instructions at https://wazo-platform.org/install so I did not edit the root password in uc-engine:vars nor did I change the host in [uc-engine-host] before I ran the installation with ansible-playbook -i inventories/uc-engine uc-engine.yml
.
I did make the other changes shown in https://wazo-platform.org/install and, the installation did complete with no errors.
After using apt install wazo-ui
to install the web UI, when I launched the web UI with
https://{server_IP_address}
I got the error message that the certificate was tied to a hostname “localhost” and of course, I then got the “Invalid certificate” error.
I have ben able to use the web UI to change the root password, but I do not know how to update the wazo uc-engine-host variable after installation … and have the certificate update with the new hostname.
At the OS level, the hostnmae is still the fqdn I established but the web UI thinks the hostname is localhost (since that is the setting I left there).
So, my questions are:
-
What should I have done to properly edit uc-engine-host before I ran the installer script?
Should I have replaced “localhost ansible_connection=local” with {server hostname} or should I have prepdended {server hostnmae} to the line so it reads
“{server hostnmae} localhost ansible_connection=local” ? -
What can I now do (without reinstalling everything) to change the uc-engine hostname so it uses the {server hostname} and has the certificate used by the web browser tied to the updated {server hostname} ?