Setting Up RSA Key Pairs

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo
Step 1: Generate an RSA Key Pair
  • Generate an RSA Key Pair. For more information, see Build a Public and Private RSA Key.

    Note

    When generating RSA private keys for use with the Terraform artifactory_keypair resource, include the -traditional flag during key generation. Use the command:

    openssl genrsa -traditional -out private-key.pem 2048

    This ensures the private key is properly formatted and prevents the error:

    Error: RSA private key is of the wrong type.
Step 2: Upload the RSA Pair Key
  1. In the JFrog Platform UI, go to Administration module under Artifactory | Security | RSA Key Pairs and click Add New Key Pair.

  2. Enter the RSA parameters generated when creating the RSA Key Pair.

    add_new_rsa_pair_key.png
  3. Click Save.