Establishing Trust Using Join Keys
As part of the JFrog Platform, you'll first need to install JFrog Artifactory as the base of your platform deployment. Any additional products installed, must be connected to Artifactory in order to be part of the Platform Deployment.
To do this, you'll need to connect and establish trust using the JFrog URL and the Join Key. The JFrog URL is used by the router for service discovery and health notifications. The Join Key is used to establish trust between the services.
Managing TLS Certificates
TLS connections, using TLS Certificates, can be used within the JFrog Platform between the different cluster nodes and services, or by JFrog services for communicating with remote sites.
Configuring Proxy between JFrog Products
In corporate environments it may be required to go through a corporate proxy for all cross-node communication. This can be done using the router services to establish:
- Internal communication between services and their local router within a JPD.
- Outbound communication through a proxy.
To configure the router, set the following in each service's System YAML Configuration File.
Note: the below example assumes the proxy is listening on 220.127.116.11:7777 for http and on 18.104.22.168:8888 for https.
router: proxy: # Proxy url for all outgoing http requests httpUrl: "http://22.214.171.124:7777" # Proxy url for all outgoing https requests httpsUrl: "https://126.96.36.199:8888" # List of target hosts to communicate with directly, bypassing the proxy. # "localhost" will always be added to this list automatically. ignoredHosts: - "example1.ignored.host" - "example2.ignored.host"
- The router automatically adds localhost to the ignored hosts.
- The example above uses the system configuration file, but the same can be done using environment variables (
- The router respects also the standard proxy related environment variables (
NO_PROXY), but the router''s system configuration takes precedence if defined.
- All other services should also be configured in a similar way to prevent them to go through proxy when calling the local router and to use the proxy when going out to external 3rd party services (e.g. Artifactory remote repositories).