EJBCA SignServer
EJBCA SignServer

Managing External Datasource for Microsoft SQL Server Configuration

The Add New Datasource form is customized for each database.
The procedure for the Microsoft SQL Server is described below.

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

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-18 at 16.11.40-20261118-151146.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 Instance
    Choose a name for the database indtance.

  • Database Name
    Choose a name for the database.

Screenshot 2026-11-16 at 13.38.26-20261116-123831.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 20-11-2026 at 11.31.26-20261120-103205.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.

  • Datasource Name

  • Datasource Type

  • Status

  • Actions:

    • Edit

    • Remove

Screenshot 2026-11-19 at 14.38.18-20261119-133823.png

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 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.