How to install a license bucket offline

Patrick Russell
2020-06-10 18:28

Update: As of 2019, Mission Control supports directly uploading a license bucket file. You can download the encoded JSON file and upload it to the site manually. See the JFMC 3.4.2 release notes for details.

Subject 
How to bypass the internet connection requirement to activate a license bucket.

Description
As of November 2018, a connection to “https://dl.bintray.com” is needed to activate a license bucket through JFrog Mission Control. This can cause problems when Mission Control is installed in a DMZ environment with no internet connection.

This requires an Artifactory installation. The OSS version of Artifactory will work in this case.

Resolution

As of November 2018, a connection to “https://dl.bintray.com” is needed to activate a license bucket through Mission Control. This can cause problems when Mission Control is installed in a DMZ environment with no internet connection.

This requirement can be bypassed by using Artifactory to proxy Bintray:

1. Click the “signed URL”, your browser will download the license bucket JSON file
2. Create a generic repository called “bypass
3. Upload the JSON to the “bypass” repository
4. Point Mission Control license bucket to the json download URL
   http://<ART_URL>:8081/artifactory/bypass/<Filename>.json

An example of the signed URL bypass

Notes:
– The following curl command should succeed when ran from the Mission Control host:

curl -vvv  http://<ART_URL>:8081/artifactory/bypass/<Filename>.json

– Anonymous access to the “bypass” repository is required.