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 |
|
Deploys the EJBCA EAR file to the application server. |
|
Install EJBCA |
|
Performs the initial setup of EJBCA, including CA and TLS creation. |
|
Upgrade EJBCA |
|
Redeploys the updated EJBCA EAR file during an upgrade. |
|
Deploy Keystore |
|
Deploys the TLS keystores to WildFly/JBoss. |
Deploying EJBCA
Command:
ant deployear
Files Deployed
-
ejbca.earis deployed to thestandalone/deploymentsdirectory in JBoss/WildFly.
Installing EJBCA
Command:
ant runinstall
Files Created
-
TLS keystores (
keystore.jksandtruststore.jks) and SuperAdmin keystore (superadmin.p12) are created in the directoryp12. -
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.jksis deployed fromp12tostandalone/configuration/keystore/ -
truststore.jksis deployed fromp12tostandalone/configuration/keystore/