How to generate an RSA PEM (asymmetric) key pair?
Step to generate an RSA PEM (asymmetric) key pair for use with SimpleBackups Encryption
Step 1. Generate the private key
Open a terminal and run the following command
openssl genrsa -aes256 -out private-key.pem 4096
You will be prompted to enter a password (we recommend securing your keys by a pass phrase).
Generating RSA private key, 4096 bit long modulus... Enter pass phrase for private-key.pem:
Step 2. Obtain the PEM public key to use
Using the following command, pass your private key we just generated:
openssl rsa -in private-key.pem -pubout > public-key.pem
Copy and paste the contents of the
public-key.pem file we obtained, and paste that into SimpleBackups' encryption key field.
Did this answer your question?
Last updated on January 24, 2023