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.
-
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.
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.
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.
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.
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.
-
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.
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.
After checking the individual boxes, click Confirm to proceed.