Generating Certificates with OpenSSL
- 16 Jul 2024
- 1 Minute to read
- Print
- DarkLight
Generating Certificates with OpenSSL
- Updated on 16 Jul 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
A self-signed certificate allows users to make connections with various integration applications. Self-signed certificates are used in Decisions to make connections with SSO, Kafka, and other modules.
Prerequisite
- OpenSSL installed
Example
The example below will demonstrate how to create a self-signed SSL certificate with pfx using OpenSSL.
- In OpenSSL, generate a private key using the following command:
openssl genrsa 2048 > private.pem
- Generate the self-signed certificate using the following command:
openssl req -x509 -days 1000 -new -key private.pem -out public.pem
- Create the PFX using the following command:
openSSL pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx
Creating PKCS#12To create a PKCS#12 file with the self-signed certificate and private key, use the following command:openssl pkcs12 –export –out mycert.pfx –inkey key.pem –in mycert.pem
Was this article helpful?