ARTIFACTORY: How to Update or Replace License Keys for your JFrog Platform

ARTIFACTORY: How to Update or Replace License Keys for your JFrog Platform

AuthorFullName__c
David Livshin
articleNumber
000001393
FirstPublishedDate
2016-10-06T13:35:44Z
lastModifiedDate
2025-05-15
Introduction

You can manage licenses directly or through License buckets. Please view the appropriate instructions for your set up. No Method requires a restart of Artifactory.

Licenses
Standalone installation
To replace the license key for your JFrog Platform instance, do any one of the following:
 
1. UI
Go to the Administration tab  > License Details  > Licenses. Just copy and paste the new key into the box and press save. 

User-added image
2. REST API
Install the license by executing the REST API available Here.
3. License File
 Manually install the license key in the filesystem.
  1. Go to $JFROG_HOME/artifactory/var/etc/artifactory/ and locate the artifactory.lic file.
  2. Edit the file replacing the existing key with the new one.
  3. No restart needed.
HA installation
To replace the license key for your JFrog Platform instance, do any one of the following:
 
1. UI
 
  1. Go to the Administration tab  > License Details  > Licenses.
  2. First add your new licenses using the add license button. (For adding more than one license, use a semicolon as a separator between the different keys.)
  3. Once it is added you should be able to delete the old licenses (it may be automatically removed if it has already expired).

User-added image
 
2. REST API
Install the license by executing the REST API available Here.
 
3. License File
Manually install the license keys in the filesystem.
  1. Go to $JFROG_HOME/artifactory/var/etc/artifactory/ and locate the artifactory.cluster.license file.
  2. Edit the file replacing the existing keys with the new ones, ensure there are 2 blank lines between each license.
  3. No restart needed.
License Buckets
  • To change the license keys installed as part of a bucket. You will need to add new licenses from another bucket or new standalone licenses first. 
  • To add a new bucket follow our documentation Here.
  • After adding the new bucket. Attach the licenses as directed in our Documentation. You should then be able to remove the old licenses.