I see what is happening,
I installed domain with hostnameX. Now i want to change the hostname to say hostnameY. To do this as per docs i login into container and run ```
setup.py -f setup.properties
Then update the required hostname. Doing this the server failed with above exceptions.
I agree it is not related to certificate update, but on doing some update from container it is failing.
I need to understand this process or am i do it incorrect way.
As @Aliaksandr Samuseu said, i re-installed gluu 3.1.1 with required hostname and did certificate updated and it works as expected.