Artifactory Security

Artifactory provides several system-wide settings to control access to In different resources. the Administration module, go to Artifactory > Security. Some remote repositories (e.

Artifactory Security - General Settings

Artifactory provides several system-wide settings to control access to different resources. In the Administration module, go to Artifactory > Security.

artifactory security settings.png
FieldDescription
Allow Basic Read of Build Related InfoWhen enabled, gives all users (including anonymous users) view permissions to published modules for all builds in the system. This overrides specific permissions applied to a particular build.
API Keys ManagementThe export target directory on your server. To revoke all API keys in the system, clickRevoke API Keys for All Users.

Artifactory Security - Certificates

Some remote repositories (e.g. Red Hat Networks) block access from clients that are not authenticated with an SSL/TLS certificate. Therefore, to use a remote repository to proxy such resources, Artifactory must be equipped with the corresponding SSL/TLS certificate.

Add Certificates

Certificates are managed in the Administration module under Artifactory > Security > Certificates.

The certificate you add should be a PEM file that includes both a private key and its corresponding certificate.

To add a new certificate, click New.

Enter the Certificate Alias and copy or drag the certificate contents or PEM file into the designated area.

Tip

To avoid text errors, we recommend dragging and dropping the PEM file into the designated area

📘

Password-protected PEM files are not supported

Make sure the PEM file you upload is not password-protected.

Use a Certificate with a Remote Repository

When a remote repository proxies a resource that requires authentication with a certificate:

  1. Obtain the certificate from the resource's owner and add it to the list of certificates as described above.
  2. Under the remote repository's Other Settings, select the certificate you want to use from the list provided in the SSL/TLS Certificate field.
SelectSSLCertificate.jpg

Proxy a Resource that Uses a Self-Signed Certificates

If the remote resource that your Artifactory remote repository is proxying (e.g. Red Hat Network's server) uses an untrusted server certificate (i.e. it is self-signed and not signed by any known Certificate Authority), you need to import the server's certificate into Artifactory's JVM truststore. To learn more about configuring a Self-Signed Certificate in Artifactory, see Trust a Signed Certificate or a New CA.

📘

You cannot configure a self-signed certificate in Artifactory SaaS

If you are using Artifactory SaaS (as opposed to an self-hosted installation), you will not be able to proxy resources that use untrusted (i.e. ,self-signed) certificates since you do not have access to the Artifactory SaaS JVM truststore.

For information on how to configure additional Artifactory security settings, see Security Keys Management.