Skip to main content
Skip table of contents

Synchronizing the VA Database

Once you have an up and running EJBCA instance dedicated as a VA, the next thing to do is synchronize its database. In doing so, you'll also be setting up publishing operations between the CA and VA.

The VA database is the master database for the standalone VA installations and where the master CA will publish certificates when they are issued or revoked.

Using the EJBCA Peer Publisher (recommended) 


For information on setting up an outgoing peer connector, see Adding an Outgoing Peer Connection and for information on how to set up a Peer Publisher, see Setting up a Validation Authority Peer Publisher.

If you're setting up a new VA for an already existing PKI (with issued certificates), you should synchronize the new VA to the current state. To do this: 

  1. In the CA UI, go to Peer Systems.
  2. Click Manage for the peer connector representing the VA and select the Certificate Data Synchronization tab.
  3. Configure the relevant subset of information to synchronize and click Start to initiate the synchronization as a background task. The progress can be followed either in this view or in the Peer Systems overview.

The connecting system needs to be authorized to the /peerincoming /peerpublish/readcert /peerpublish/writecert /ca/[CAName] access rules to be able to check synchronization data and push missing or outdated certificate entries

Using the Legacy VA Publisher 


In the case of the VA being an OCSP responder, set the data source java:/OcspDS in JBoss. The VA data source should not be involved in transactions (a no-tx-datasource in JBoss), and it should have auto-commit (should be default in JBoss).

Using the CRL Download and CRL Update Service

This is the common option when using EJBCA as a VA performing OCSP services for a non-EJBCA CA. The CRL Download and CRL Update Service is configured on the VA to periodically download CRLs from a URL and use them to populate the VA database. See the relevant section on the OCSP Management page for more information.

Related Content

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.