1. Generate RSA key pair

This guide will help you generate the RSA key pair

To use our API securely, you'll need to generate an RSA key pair consisting of a private key and a corresponding public key. This process can be done using OpenSSL.

Those keys are used to generate and verify digital signatures.

Here are the commands and steps to generate the keys:

Step 1: Generate a Private RSA Key

Use the following command to generate a private RSA key with a 4096-bit key size:

openssl genrsa -out private.pem 4096

Step 2: Generate a Corresponding Public RSA Key

To generate the corresponding public RSA key from the private key, use the following command:

openssl rsa -in private.pem -outform PEM -pubout -out public.pem