Generate a Private/Public RSA Key Pair

Pure1 Manage - REST API

Audience
Public
Product
Pure1
Source Type
Documentation

  1. On your computer, generate an RSA key pair. For instance, if you use the openssl tool on MacOs or Linux, please run the following command to generate a private key:
    
    openssl genrsa -aes256 -out pure1-test-private.pem 2048
  2. Generate the public key that corresponds to your private key with the following command:
    
    openssl rsa -in pure1-test-private.pem -outform PEM -pubout -out pure1-test-public.pem
    
  3. Retrieve the text version of your public key with the following command:
    
    cat pure1-test-public.pem