Deployment Reference

This section provides a reference for key ant targets used during EJBCA deployment, including the files and components they affect.

Ant Target Overview

Task

Ant Target

Purpose

Deploy EJBCA

ant deployear

Deploys the EJBCA EAR file to the application server.

Install EJBCA

ant runinstall

Performs the initial setup of EJBCA, including CA and TLS creation.

Upgrade EJBCA

ant deployear

Redeploys the updated EJBCA EAR file during an upgrade.

Deploy Keystore

ant deploy-keystore

Deploys the TLS keystores to WildFly/JBoss.

Deploying EJBCA

Command:

ant deployear

Files Deployed

  • ejbca.ear is deployed to the standalone/deployments directory in JBoss/WildFly.

Installing EJBCA

Command:

ant runinstall

Files Created

  • TLS keystores (keystore.jks and truststore.jks) and SuperAdmin keystore (superadmin.p12) are created in the directory p12.

  • Creates the initial Management CA, and TLS and SuperAdmin users in the database,

Upgrading EJBCA

Command:

ant deployear

 Redeploys the updated ejbca.ear file.

Deploying a Keystore to JBoss/WildFly

Command:

ant deploy-keystore

Files Deployed

  • keystore.jks is deployed from p12 to standalone/configuration/keystore/

  • truststore.jks is deployed from p12 to standalone/configuration/keystore/