EJBCA SignServer
EJBCA SignServer

Managing External Datasource for MariaDB Database Configuration

The Add New Datasource form is customized for each database.
The procedure for the MariaDB database is described below.

The first field in the form is the database selection.
Choose the Database Type from the drop down menu.
Select MariaDB Database.

Datasource Name

Choose a unique name for the data source.
This name cannot be changed after creation.
This entry is required.

  • Name restrictions:

    • max 64 characters.

    • First character must be uppercase or lowercase letter.
      Besides that, allowed characters are the following:

      • Uppercase letters (A–Z)

      • Lowercase letters (a–z)

      • Digits (0–9)

      • Underscores (_)

      • Hyphens (-)

    • The following reserved names are not allowed: appds ejbcamail.

Screenshot 2026-11-12 at 15.49.37-20261112-144942.png

Database Host

  • Enter the IP address or FQDN of the external database host.
    This entry is required.

  • Enter the Port used by the database host.
    This entry is required.
    Adjust the default value using the arrows if necessary.

  • Database Name
    Enter a name for the database.

    Screenshot 2026-11-10 at 11.17.06-20261110-101716.png

Database Authentication

  • Database Username
    Enter the username used to connect to the database.
    This entry is required.

  • Database Password
    Enter the password used to connect to the database.
    This entry is required.

    Screenshot 2026-11-10 at 11.24.09-20261110-102414.png

Additional Settings

Connector Properties
Here, additional properties must be defined that are to be passed to the JDBC connector via the connection URL.
The table contains two fields in which to enter the Name and the Value.
Click Add in the table to confirm.

grafik-20261110-103131.png

Connectivity Check

  • A final test checks whether the Software Appliance can establish a connection to the database host using the specified settings.
    Click Test Connection to verify.

If the test is successful, a table displays the following information:

  • Hostname

  • Server Version

  • Driver version

After verifying the information, complete the configuration.

Pasted 19-11-2026 at 15.26.26-20261119-142805.png

Click Add Datasource to finalize.
A modal dialog asks to confirm the decision.
A warning is displayed.

Add Data Source Configuration

Any change to the data source configuration causes EJBCA to restart.
EJBCA is temporarily unavailable during the restart.

Click Confirm to add the new datasource.

The External Datasources are displayed in a table.

Screenshot 2026-11-19 at 12.17.16-20261119-111721.png
  • Datasource Name

  • Datasource Type

  • Status

  • Actions:

    • Edit

    • Remove

Edit Datasources

The corresponding form will open. After making the desired changes, click Update Configuration to confirm.

A confirmation dialog opens. Changing the datasource configuration in any way will restart EJBCA. Check the box to confirm that this is the action desired.
Click Confirm to proceed.

Screenshot 2026-11-12 at 15.36.08-20261112-143613.png

 

Remove the Datasources Configuration

A modal dialog opens.

Be aware of the consequences.

  • Changing the datasource configuration in any way will restart EJBCA.

  • During the restart, EJBCA will be temporarily unavailable.

  • Removing a datasource configuration that is still in use will cause the corresponding VA publishers to fail silently.

  • Ensure that the datasource is no longer in use before removing it.

  • Removing a datasource configuration cannot be undone.

Screenshot 2026-11-12 at 15.00.49-20261112-140055.png

After checking the individual boxes, click Confirm to proceed.