Jump to content

EJBCA

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Primetomas (talk | contribs) at 06:20, 20 April 2021 (→‎Notable features). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

EJBCA
Developer(s)PrimeKey Solutions AB
Initial releaseDecember 5, 2001 (2001-12-05)
Stable release
7.4.3.2 / March 29, 2021 (2021-03-29)
Repository
Written inJava on Java EE
Operating systemCross-platform
Available inBosnian, Chinese, Czech, English, French, German, Japanese, Portuguese, Swedish, Ukrainian, Vietnamese
TypePKI Software
LicenseLGPL-2.1-or-later
Websitewww.ejbca.org Edit this on Wikidata

EJBCA is a free software public key infrastructure (PKI) certificate authority software package maintained and sponsored by the Swedish for-profit company PrimeKey Solutions AB, which holds the copyright to most of the codebase. The project's source code is available under the terms of the Lesser GNU General Public License (LGPL).

Design

The system is implemented in Java EE and designed to be platform independent and fully clusterable, to permit a greater degree of scalability than is typical of similar software packages. Multiple instances of EJBCA are run simultaneously, sharing a database containing the current certificate authorities (CAs). This permits each instance of the software to access any CA. The software also supports the use of a hardware security module (HSM), which provides additional security. Larger-scale installations would use multiple instances of EJBCA running on a cluster, a fully distributed database on a separate cluster and a third cluster with HSMs keeping the different CA keys.

EJBCA supports many common PKI architectures such as all in a single server, distributed RAs and external validation authority. An example architecture is illustrated below.

Example PKI architecture with external validation authority

EJBCA can be used by small and large organizations alike and EJBCA Community can be deployed as pure software installation (Do it yourself) or as an easy to test Docker container.

Components

A certificate authority system typically consists of the logical components:

  • Certification Authority (CA): issues certificates, signing them using the CA's private signing key.
  • Registration Authority (RA): registers entities in the system and approves issuance from the CA. Validation and policy controls are usually divided between the CA and the RA and can vary depending on use case and installation, from a model where the RA does everything and the CA simply issues on order from the RA, to a model where the CA performs all validation and controls and the RA acts as a simply proxy front-end.
  • Validation Authority (VA): servers relying parties with data needed to validate certificates as they are used by the relying parties. The VA typically offers an OCSP services and download of CRLs.

These logical components can be deployed ether as discrete components, physically separated, or bundled into a single physical deployment.

Notable features

  • Multiple CA instances: EJBCA supports running unlimited number of CAs and levels of CAs in a single installation. Build a complete infrastructure, or several, within one instance of EJBCA.
  • Online Certificate Status Protocol: certificate validation options include X.509 CRLs and OCSP (RFC6960).
  • Registration authority: The EJBCA software includes a separate registration authority (RA) front end that can run on the same instance as the CA or distributed as external RAs. Communication between the CA and the RA is only using outgoing network connections to insulate the CA from less trusted networks, where the RA is typically placed.
  • Multiple algorithms: Common algorithms for usage in PKI includes: RSA, ECDSA, EdDSA, and DSA, SHA-1, SHA-2, and SHA-3. Compliant with NSA Suite B Cryptography.
  • Different certificate formats: EJBCA support both X.509v3 certificates and Card Verifiable certificates (CVC BSI TR-03110). Certificates are compliant with all standards such as RFC5280, CA/Browser Forum, eIDAS, ICAO 9303, EAC 2.10 and ISO 18013 Amendment 2 eDL.
  • PKCS#11 HSMs: Standard PKCS 11 compliant hardware security modules are used to protect the CAs’ and OCSP responders’ private keys.
  • Many integration protocols and APIs: EJBCA was designed with integration in mind. Most standard protocols are supported, CMP, SCEP, EST, and ACME as well as web services. Using integration APIs it is possible to integrate EJBCA as a certificate factory, not exposing its native user interfaces.
  • High capacity: Using a standard RDBMS the system have a capacity to store large amounts of issued certificates.

See also

Further reading

  • Research and application of EJBCA based on J2EE; Liyi Zhang, Qihua Liu and Min Xu; IFIP International Federation for Information Processing Volume 251/2008; ISBN 978-0-387-75465-9
  • Chapter "Securing Connections and Remote Administration" in Hardening Linux; James Turnbull; ISBN 978-1-59059-444-5
  • Exception-Handling Bugs in Java and a Language Extension to Avoid Them; Westley Weimer; Advanced Topics in Exception Handling Techniques Volume 4119/2006; ISBN 978-3-540-37443-5
  • Secret Sharing Framework Based on Digital Certificates; Paul Crocker and Adolfo Peixinho; Proceedings of the 13th European Conference on Cyber Warfare and Security ECCWS-2014; ISBN 1910309249
  • Building and Managing a PKI Solution for Small and Medium Size Business; Wylie Shanks; SANS Institute InfoSec Reading Room; December 2013
  • Post-quantum algorithms for digital signing in Public Key Infrastructures; Mikael Sjöberb; Degree Project in Computer Science and Engineering at KTH, Stockholm, Sweden 2017
  • A world of hurt after GoDaddy, Apple, and Google misissue >1 million certificates
  • Cisco let an SSL cert expire in its VPN kit – and broke network provisioning brokers