1. Generate RSA key pair

An RSA key pair includes a private and a public key used to generate and verify digital signatures.

You can generate a public and private RSA key pair with these commands:

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