Generating an RSA Key Pair

This guide explains how to install OpenSSL (if needed), generate an RSA key pair, and copy the public key for uploading to the Dashboard.

circle-exclamation

Important

The easiest way to generate your RSA key pair is using our dedicated web tool. No installation is required.

  1. Follow the instructions on the screen to generate a new key pair.

  2. Download/Copy the Private Key and store it securely (you will not be able to see it again).

  3. Copy the Public Key and paste it into the Dashboard.

Option 2: Command Line (Manual)

If you prefer to generate keys locally using your terminal, choose your operating system below.

Step 1: Check if OpenSSL is installed

  1. Open Terminal.

  2. Run:

openssl version
  • If you see a version number, OpenSSL is installed.

  • If you see an error, follow the installation steps below.

Step 2: Install OpenSSL (if not installed)

  1. Install Homebrew (if not already installed):

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install OpenSSL:

brew install openssl
  1. Verify installation:

openssl version

Step 3: Generate the RSA key pair

openssl genrsa -out rsa_private.pem 2048
openssl rsa -in rsa_private.pem -pubout -out rsa_public.pem

Step 4: Copy the public key content

  1. Display the public key:

  1. Copy everything, including:

  1. Paste the copied content into Project Settings → RSA Key in the Dashboard.

Common mistakes

  • ❌ Uploading the private key instead of the public key

  • ❌ Copying the key without BEGIN / END lines

  • ❌ Adding extra spaces or removing line breaks

  • ❌ Storing private keys in repositories or client-side code

Last updated