/
Configure database for Nexus Timestamp Server

Configure database for Nexus Timestamp Server

This article includes updates for Nexus Timestamp Server 2.3.0.

This article describes the settings for storing information for Nexus Timestamp Server in a database. This is only done if audit is required or for other reason, for example, to keep track of amount of requests.

The configuration parameters are located in the file timestamp.properties and they apply to all services that do not have defined their own database connection.

Prerequisites

Consider these prerequisites:

  • Add database storage of timestamps to the filter chains, since this is not added to the filter chains of the sample configuration. This is necessary to enable database storage. Read more under heading “timestamp.StorageFilter” in Description of filters in Nexus Timestamp Server.

  • Set up the database schemas beforehand for the external databases. The tables will be created automatically when the server receives requests.

Set database parameters

Set these database parameters in timestamp.properties:

Examples

MySQL

[shared] # MySQL settings storage.database.jdbcDriver=com.mysql.jdbc.Driver storage.database.jdbcUrl=jdbc:mysql://localhost/<database_name> storage.database.jdbcUser=root storage.database.jdbcPassword=password

Microsoft SQL

[shared] # MSSQL settings storage.database.jdbcDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver storage.database.jdbcUrl=jdbc:sqlserver://localhost:1433;databaseName=<database_name> storage.database.jdbcUser=root storage.database.jdbcPassword=password

PostgreSQL

[shared] # PostgreSQL settings storage.database.jdbcDriver=org.postgresql.Driver storage.database.jdbcUrl=jdbc:postgresql://localhost:5432/ <database_name> storage.database.jdbcUser=postgres storage.database.jdbcPassword=postgres

 

Related content

Nexus Timestamp Server requirements and interoperability
Nexus Timestamp Server requirements and interoperability
More like this
Install Nexus Timestamp Server on Linux
Install Nexus Timestamp Server on Linux
More like this
Configure Nexus Timestamp Server
Configure Nexus Timestamp Server
More like this
Install and upgrade Nexus Timestamp Server
Install and upgrade Nexus Timestamp Server
More like this
Release note Nexus Timestamp Server 2.3.0
Release note Nexus Timestamp Server 2.3.0
More like this

Copyright 2024 Technology Nexus Secured Business Solutions AB. All rights reserved.
Contact Nexus | https://www.nexusgroup.com | Disclaimer | Terms & Conditions