EJBCA REST API CLI - How to use Python and curl to enroll for a certificate using EJBCA REST API
Описание
In this tutorial, you will learn how to:
- Generate a private key, CSR using OpenSSL, and get it signed using EJBCA REST API
- Use Python or shell to script to submit the CSR to EJBCA REST API
- Check the contents of the certificate using OpenSSL
Agenda
Use a Linux server with OpenSSL, a credential from EJBCA that has permission to enroll for a certificate, and use the Rest API to submit CSRs and receive a certificate from EJBCA. Two examples are covered using Python and shell.
Prerequisites
- EJBCA configured with a certificate profile, end entity profile, CA, role, etc to issue certificates
- P12 file that is permitted in an EJBCA role to issue an End Entity
- Linux host to run the Python or shell script
- Python, Python Request, curl, jq, installed on the Linux host
Resources:
https://github.com/Keyfactor/keyfactorcommunity
Рекомендуемые видео





![TWO LEGENDS ONE HALL NORDIC RAP BATTLE Valhalla Cypher Duet Viking Somg [get.gt]](/images/video/2026-04-26/99/03/99031f5e64008b7db36640ccd1cbe675.jpg?width=640)

![ALEX TASTY - SPACE GIRLS [MUZHUB]](/images/video/39/f0/39f0018aadd1fccf1ae9460d12924932.jpg?width=640)



![[KPOP DANCE IN PUBLIC | ONE TAKE] HUNTR/X - Takedown | by VIBE SHIFT](/images/video/2025-09-12/56/98/5698cc5a2b94bfd8c6174f9c19f01dad.jpg?width=640)






