Skip to main content
Skip table of contents

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:

CODE
ant deployear

Files Deployed

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

Installing EJBCA

Command:

CODE
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:

CODE
ant deployear

 Redeploys the updated ejbca.ear file.

Deploying a Keystore to JBoss/WildFly

Command:

CODE
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/

JavaScript errors detected

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

If this problem persists, please contact our support.