If you want to automate your certificate issuance, you can use the EJBCA REST API. With these examples, we will show you how to use EJBCA REST API CLI with Phyhton and EJBCA REST API with Postman.
Python is ideal for scripting, automation, data manipulation, analysis, and web development with custom logic and broader application requirements. On the other hand, Postman is primarily focused on API testing and exploration. Both are covered in the examples below.
In this tutorial, we will:
We will 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.
Before you get started you need:
In this tutorial, we will:
Use Postman a graphical user interface tool to submit CSR’s to EJBCA to request a certificate. Use OpenSSL to generate a private key, CSR, and parse the certificate returned from EJBCA
Before you get started you need:
The accompanying documentation of the tutorial videos is here.
Get your hands on the EJBCA Docker container by downloading it now.
Take a peek at the EJBCA REST CLI video on YouTube, and browse through some of our other tutorial videos as well.
Take a peek at the EJBCA REST Postman video on YouTube, and browse through some of our other tutorial videos as well.
You can ask your questions and learn from PKI specialists in the EJBCA forum on GitHub Discussions.