Managing CAs (2024)

This Certificate Authority Operations section provides information on managing CAs and instructions on how to create, renew, revoke, and import and export Certificate Authorities (CAs).

Managing CAs (1)

For more conceptual information on CAs, see Certificate Authority Overview.

Managing CAs (2)

This page primarily covers x509 CAs for secure email, login, web authentication, VPN and so on. For information about CVC CAs for certificates used by EU EAC ePassports and eIDs, see the CVC CA Operations page.

Creating CAs

Once through your first installation, you'll have a default CA created on your instance of EJBCA called the Management CA. This CA is EJBCA's own bootstrap CA, and will be used by you internally from now on in order to issue end user certificates for your administrators.

Managing CAs (3)

From here on, you can create the CA of your choice:

Creating a CA through EJBCA's WebService API

ENTERPRISE This is an EJBCA Enterprise feature.

If EJBCA's web service is set up, it is also possible to create new CA by using the WS API callcreateCAin your application or with theWeb Services CLI.

Requesting a Cross or Bridge Certificate

If you have set up your own CA you can request another CA to cross certify your CA, or you can get certified by Bridge CA such as the Federal Bridge.

Managing CAs (4)

Handling the certificate chains on clients is out of the scope for EJBCA.

This is done in the following way:

  1. In the Edit CApage, choose a CA that you intend to get cross certified by another CA and click Edit.
  2. In the lower part of the screen, click on Make Certificate Request and skip upload of the signing certificate chain.
  3. Save the created PKCS#10 certificate request to disk and send to the other CA.

Now you have a certificate request to send to the other CA or Bridge CA. When the other CA has issued a certificate for you, everything is completed. You don't need to (and usually should not) import the cross-certificate or bridge-certificate in EJBCA. What you need to do is make sure the clients using the certificates issued by your CA have access to the correct certificate chain. If you are cross-certified with several other CA, multiple possible certificate chains exist.

Renewing CAs

When a CA expires you have the choice of renewing the existing CA, or creating a new CA. Our general recommendation is to create a new CA subject DN when renewing Root CAs, see CA Rekey Recommendations.

Managing CAs (6)

Consider creating a new Root CA instead of re-keying an existing one. Having multiple Root CA certificates with different keys but using the same subject DN may lead to unexpected issues and behavior.

The following describes renewing a CA certificate keeping the same subject DN.

You can renew CAs in different ways:

  • Renew only CA certificate, using the same keys.
  • Renew CA keys and certificate.

To renew only the CA certificate using the same keys, click Renew CA. Note that your CA must be online to be able to sign the new certificate (if a self-signed CA), or the certificate request (if a sub CA). Additionally, if using a sub CA with the root CA in the same EJBCA instance, the root CA is also required to be online.

Managing CAs (7)

When renewing the CA certificate without renewing keys, the same signing key is used as before, and the subject key ID in the CA certificate will stay the same. This option is useful if something in the CA certificate needs to be fixed. To limit the time a Root CA key is used it is considered best practice to do a CA rollover with renewing CA signature keys.

Managing CAs (8)

To renew the CA keys, set Next CA keyto Generate new key using KeySequence and click Renew CA. Note that not all HSMs support renewal of CA keys.

When using an HSM, manual renewal of keys can also be made by generating new keys on the HSM, using for example the EJBCA CLI tools, and then selecting the generated keys in the Next CA key field and clicking Renew CA.

Using CA Rollover

It is possible to renew a CA certificate, but not activate the new certificate and key immediately. This is useful for CA certificates that will become valid at some point in the future (in EJBCA, such certificates can be created by checking "Allow Validity Override" in the certificate profile). A such certificate is called arollover certificateor anext CA certificate, and can be used in the SCEP protocol.

Managing CAs (9)

First, make a certificate request as usual. Then you may receive the CA certificate response without activating it. To do so, edit the CA and check the "Rollover certificate (activated later)" checkbox. Then select the new CA certificate file its corresponding key. Then click "Receive Certificate Response". A message will appear, which shows when the rollover certificate becomes valid, and may be activated.

At a later point, the new rollover certificate may be activated. To activate it, edit the CA and scroll down to "CA Life Cycle". There should be text telling when the current certificate expires and when the rollover certificate becomes valid. If not, the CA doesn't have any rollover certificate. Click the button "Perform CA Rollover", and the new rollover certificate will be activated.

There is also a service,Rollover Service, that can be configured to activate rollover certificates automatically once they become valid. There will be a 10 minute delay in this case to allow for a small amount of clock skew.

Signing a Rollover Certificate a.k.a Link Certificate

One way to handle update of trust points when renewing a Root CA is to generate a certificate that contains the new key signed with the old key. For X.509 CAs, you can create such a certificate by selecting Create link certificate before renewing the CA. The latest link certificate can then be downloaded from the Edit CA view. For CVC CAs a link certificate is always generated during the renewal.

ICAO and some other PKI have stated requirements to create link certificates, new-with-old, in order to distribute new Root CA certificates without the need for an out of band secure channel (i.e. clients can verify the new Root certificate with their existing trust anchor). Some RFCs (for example, RFC4210) also specifies an old-with-new link certificate. Although we do not see much practical use of this type of link certificate, it is possible to create such an old-with-new link manually according to the following instructions.

Managing CAs (10)

Do not perform the following steps unless you are sure that an old-with-new link certificate is required.

If you need to create an old-with-new link certificate, perform the following steps:

  1. Before starting the renewal, create a CSR from the Root CA.
  2. Once the renewal is completed, sign the CSR with the new Root CA.
    • Ensure that the CA has the options Enforce unique DN and Enforce unique public keys disabled during this operation.
    • Create a suitable SubCA certificate profile for the OldWithNew link certificate. Use the option Allow Subject DN Override by CSR and configure all attributes desired.
    • Create an end entity profile for the OldWithNew with the proper subject DN naming fields.
    • Issue the certificate, using the CSR from the old CA keys, signing the certificate with the new CA keys.
    • Verify the contents of the certificate carefully and that the correct links verify as they should.

Revoking CAs

When revoking a sub CA, you can choose to only revoke the sub CA certificate or to revoke the sub CA certificate and all certificates issued by the sub CA. A TLS client would normally check the revocation status of each certificate in the certificate chain, in which case revoking only the sub CA certificate would be sufficient.

Revoking a CA Certificate

You revoke a sub CA certificate the same way as you revoke any other certificate in EJBCA. To revoke a sub CA certificate, do the following on the EJBCA instance where the issuer of the sub CA (normally a root CA) resides:

  1. Go to the RA Web and select Search → Certificates.
  2. Search for the certificate by entering the common name of the sub CA, and click View to view the sub CA certificate.
  3. Choose a revocation reason in the certificate status list menu and click Revoke to revoke the sub CA certificate.
  4. Go the CA UI and click CA Structure and CRLs.
  5. Click Create CRL on the appropriate issuer (root CA) to create a new CRL.
  6. Optionally, download and distribute the new CRL to VA instances manually if this is not done automatically with a publisher.

Revoking All Certificates Issued by a CA

You can also revoke all certificates issued by the sub CA. To revoke all certificates issued by the sub CA, do the following on the EJBCA instance where the sub CA resides:

Managing CAs (11)

This operation may potentially create a very large CRL if the sub CA has issued a great number of certificates.

  1. Go to the CA UI and click Certification Authorities.
  2. Select the sub CA whose certificates you want to revoke, and click Edit CA to edit the sub CA.
  3. In the CA Life Cycle section, choose a revocation reason and click Revoke to revoke all certificates issued by the sub CA that are not yet revoked. This will also create a new CRL.

If the CA is connected to a VA using peers, the VA will not automatically get the new status of the revoked certificates and you therefore need to synchronize manually as follows:

  1. Click Peer Systems in the menu.
  2. Click Manage on the appropriate peer connector.
  3. In the Certificate Data Synchronization tab, choose Only sync revoked and then click Start to push the status of the revoked certificates to the VA.

Exporting and Importing CAs

Under certain circ*mstances, it can be wise to back up the CA's signature and encryption keys. Remember to protect the backup in the same way as the CA itself.

  • Soft token CAs can be exported and backed up. CAs with the keys on an HSM cannot be exported through EJBCA. Use the HSMs methods to back up such keys.
  • Soft token CAs can be imported using both the CLI and Admin GUI, while HSM CAs can only be imported using the CLI.

The aliases of the keys in exported key stores are important when importing the key stores, and allow you to assign the correct keys. To list the aliases (or friendlyName in OpenSSL terminology) in a PKCS#12 file, use the following OpenSSL command:

$ openssl pkcs12 -in /home/user/tmp/kesytore.p12

BASH

Using the CA UI

To export and import the CA's keys using the CA GU, you need super administrator access. Make sure that .p12 files are not automatically saved to an unsuitable place by your browser before you perform an export.

To export the CA's keys, do the following:

  1. Select the Certificate Authorities menu option.
  2. Select the CA to export and click Edit.
  3. Next to CA export requires the keystore password, enter the keystore password.
  4. Click Export CA keystore.
  5. The PKCS#12-file will be downloaded by your browser to the location you specify.

To import the CA's keys, do the following:

  1. Select the Certificate Authorities menu option.
  2. Click Import CA keystore.
  3. Specify the CA's name, full pathname to the PKCS#12-file, and keystore password.
  4. If you exported the CA's keys using EJBCA, do not edit the twoAlias field default values.
  5. Click Import CA keystore.

Using Command Line Interface

To export a CA named TestCAto the PKCS#12-file /path/TestCA.p12with password foo123, enter the following from the $EJBCA_HOME directory:

$ bin/ejbca.sh ca exportca TestCA ./TestCA.p12Using JBoss JNDI provider...Enter keystore password: foo123$

BASH

To import the backup keys for TestCAlater, enter the following from the $EJBCA_HOME directory:

$ bin/ejbca.sh ca importca TestCA /path/TestCA.p12 SignatureKeyAlias EncryptionKeyAliasUsing JBoss JNDI provider...Enter keystore password: foo123$

BASH

To view usage instructions on how to import HSM CAs, run the following command:

$ bin/ejbca.sh ca importca --help

BASH

If you import multiple CAs that are using the same HSM, and the same slot on the HSM, duplicate crypto tokens are created in EJBCA. Although there should only be one crypto token per slot, one crypto token per CA is created during the import of the CAs.To merge these crypto tokens after the import is complete, use the CLI command mergecatokens:

$ bin/ejbca.sh ca mergecatokens --help

CODE

Remove and Restore a CA Soft Key Store

Soft token CAs can have their keystore removed from the database. When the keystore is removed, the CA cannot issue certificates and its CA token status is set to offline.

Managing CAs (12)

Before removing the keystore, export it first to allow restoring it later, seeExport and Import CAs above.

To remove the catoken keys for TestCA, enter the following from the $EJBCA_HOME directory:

$ bin/ejbca.sh ca removekeystore TestCAUsing JBoss JNDI provider...$ 

XML

To restore the catoken keys again for TestCAwith the keystore exported as TestCA-exported.p12, enter the following from the $EJBCA_HOME directory:

$ bin/ejbca.sh ca restorekeystore TestCA /path/TestCA-exported.p12 -s SignatureKeyAlias -e EncryptionKeyAliasUsing JBoss JNDI provider...Enter keystore password: foo123$

XML

Managing CAs (2024)

FAQs

Is it possible to fail CAS? ›

CAS is graded pass/fail and students must be assessed as passing in order to earn the IB Diploma.

How many CAS experiences are enough? ›

ASM Expectations: CAS students are expected to complete two experiences for each of the three CAS stands and a Project during the eighteen months of CAS. Each experience should also have at least TWO reflections and at least ONE piece of evidence.

How many CAS outcomes do I need? ›

Note: All seven outcomes must be present for a student to complete the CAS requirement.

How many hours do you need to pass CAS? ›

How many CAS hours do you need? Generally, students are expected to complete a minimum of 150 hours over the course of their high school years, with at least 50 hours in each of the three categories (Creativity, Activity, Service).

Can your parents be your CAS supervisor? ›

First, who is my supervisor? Remember, that you get to identify who is the adult monitoring your CAS experience/CAS project. This can be the leader of the event, director of the organization etc. It should not be your parents or other family member.

What happens if you fail a CAS interview? ›

Each intake will give you two chances to pass the interview. If you do not pass the interview after failing once then there is no choice but to wait for the next intake. The questions will be mainly about your university, course, why you are going to the UK, what you are expecting from studying, and more.

How many activities should I do for CAS? ›

As you proceed through your Junior and Senior years, you will log each activity or collection of activities/experiences/opportunities as CAS “Experiences” on Managebac, and be on your way to logging your minimum of 7 CAS Experiences (1 for each Learning Outcome—2 per area—2 Creativity, 2 Activity, 2 Service, +1 ...

How many CAS interviews are needed? ›

There is a minimum of three scheduled CAS interviews during a student's DP. Ideally, the first interview is scheduled during the very early stages of the DP. Prior to this interview, be certain that students have attended a CAS orientation and have access to relevant information.

Does tutoring count as CAS hours? ›

What counts towards Service? Any service project or activity where you are helping others without compensation of either money or credit hours. Examples: tutoring at Fishline, Adopt a Family, volunteering at West Sound Wildlife, taking care of your disabled neighbor's garden.

Does CAS matter in IB? ›

Successful completion of CAS is a requirement for the award of the IB diploma. CAS is not formally assessed but students need to document their activities and provide evidence that they have achieved eight key learning outcomes.

How many reflections do you need for CAS? ›

More about Reflections….

You may write as many reflections and journal entries as you wish, but at least three written reflections (initial, mid-point and final) are required for long-term CAS experiences.

Is CAS pass or fail? ›

Success in CAS will be determined according to whether or not the criteria of the five stages of CAS mentioned above were met. While CAS is not given a numerical grade like anything else in IB, passing CAS is required to earn the diploma.

What are the requirements to pass CAS? ›

-You have to complete at least 50 hours for each strand (Creativity, Activity, and Service) for the year. CAS is an IBDP component that engages students on real-life activities. CAS consists of Creativity, Action, and Service.

Do you get graded on CAS? ›

Studied throughout the Diploma Programme, CAS involves students in a range of activities alongside their academic studies. It is not formally assessed. However, students reflect on their CAS experiences as part of the DP, and provide evidence of achieving the seven learning outcomes for CAS.

Top Articles
________ areas are rich in mineral deposit.
TaxTips.ca - Capital Gains and Losses
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Umn Biology
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 6055

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.