RSA Key Pairs

Artifactory enables the management of multiple RSA signing keys allowing you to store and manage the RSA pubic and private keys that are used to sign and...

Artifactory enables the management of multiple RSA signing keys allowing you to store and manage the RSA pubic and private keys that are used to sign and verify the Alpine Linux Index files.

The RSA Key Pair is assigned to local or virtual Alpine Linux Repositories in the Repository Advanced tab of the Alpine Repository.

📘

RSA Keys for Alpine Repositories

Alpine Linux requires RSA keys by default. If you do not configure RSA keys, you must use the allow-untrusted flag. For more information, see Create an Alpine Repository.

📘

Note

If Vault is configured, follow the steps in Vault.

Setting Up RSA Key Pairs

📘

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.
  1. In the JFrog Platform UI, select the Administration module and go to Artifactory > Security > RSA Key Pairs. 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.

RSA Key Pair REST API Commands

You can perform the following RSA Key Pair REST API commands: