Re: [OpenXPKI-users] WebUI issue with Remote DB Server of OpenXPKI

2023-04-10 Thread Scott Thomas via OpenXPKI-users
 Should we modify DataSource = dbi:mysql:dbname=openxpki ? How to add IP 
address or hostname?


On Monday, 10 April 2023 at 02:28:12 pm GMT+5, Martin Bartosch 
 wrote:  
 
 Hi,

> We deployed the OpenXPKI DB on a separate remote MariaDB server and changed 
> the details in /etc/openxpki/config.d/system/database.yaml
> 
> The server daemon restarts successfully but the UI doesn't work. It is bound 
> to the local DB. How can we change it?

The Web UI has its own separate configuration file which references the backend 
storage for session information.

In /etc/openxpki/webui/default.conf locate the [session_driver] section and 
modify its values accordingly. Restart Apache to activate the changes.

Martin

  ___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users


Re: [OpenXPKI-users] WebUI issue with Remote DB Server of OpenXPKI

2023-04-10 Thread Oliver Welter

https://openxpki.readthedocs.io/en/latest/quickstart.html#session-storage

On 10.04.23 11:15, Scott Thomas via OpenXPKI-users wrote:

Bonjour,

We deployed the OpenXPKI DB on a separate remote MariaDB server and 
changed the details in /etc/openxpki/config.d/system/database.yaml


The server daemon restarts successfully but the UI doesn't work. It is 
bound to the local DB. How can we change it?


Cheers
Scotty


___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users


--
Protect your environment -  close windows and adopt a penguin!
___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users


Re: [OpenXPKI-users] WebUI issue with Remote DB Server of OpenXPKI

2023-04-10 Thread Martin Bartosch via OpenXPKI-users
Hi,

> We deployed the OpenXPKI DB on a separate remote MariaDB server and changed 
> the details in /etc/openxpki/config.d/system/database.yaml
> 
> The server daemon restarts successfully but the UI doesn't work. It is bound 
> to the local DB. How can we change it?

The Web UI has its own separate configuration file which references the backend 
storage for session information.

In /etc/openxpki/webui/default.conf locate the [session_driver] section and 
modify its values accordingly. Restart Apache to activate the changes.

Martin



___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users


Re: [OpenXPKI-users] WebUI issue with Remote DB Server of OpenXPKI

2023-04-10 Thread Ivaylo M. Ivanov via OpenXPKI-users

Hi,

service apache2 start

UI is web app serviced via apache2. You must have successfully started 
apache2 service


Regards,
Ivaylo Ivanov

On 10.04.23 г. 12:15 ч., Scott Thomas via OpenXPKI-users wrote:

Bonjour,

We deployed the OpenXPKI DB on a separate remote MariaDB server and 
changed the details in /etc/openxpki/config.d/system/database.yaml


The server daemon restarts successfully but the UI doesn't work. It is 
bound to the local DB. How can we change it?


Cheers
Scotty


___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users


[OpenXPKI-users] WebUI issue with Remote DB Server of OpenXPKI

2023-04-10 Thread Scott Thomas via OpenXPKI-users
Bonjour,
We deployed the OpenXPKI DB on a separate remote MariaDB server and changed the 
details in /etc/openxpki/config.d/system/database.yaml
The server daemon restarts successfully but the UI doesn't work. It is bound to 
the local DB. How can we change it?
Cheers Scotty___
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users