Giter Club home page Giter Club logo

ejbca.rpm's Introduction

SPEC file for EJBCA

The official documentation tells to use 'ant' to build and install/deploy EJBCA. The reason is that the properties files are part of the compiled Java archive.

As would Raymond Hettinger say:

There must be a better way!

There is! You can build the Java archive in advance and deploy it as a RPM package. It has the benefit of preventing mistakes in manual tasks and enforcing the same configuration on a farm of servers.

To build the RPM, you must have the following files in the SOURCES directory:

  • ejbca_ee_<version_underlined>.zip (e.g. ejbca_ee_6_9_0_2.zip)
  • ejbca-custom (Official documentation)
  • <any_patch_you_want_to_apply>.diff

You must update the SPEC file to match the list of patches you want to apply.

Deployment

Just create a symlink to /opt/ejbca/dist/ejbca.ear in the JBoss deployments directory.

Different environments

If you have different environments (e.g. production + pre-production), just create 2 different SPEC files (e.g. ejbca-prod and ejbca-prep) based on this one.

Different kinds of EJBCA installations

If you have different EJBCA instances (e.g. CA + OCSP responders), just create 2 different SPEC files (e.g. ejbca-ca and ejbca-ocsp) based on this one.

ejbca.rpm's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.