Skip to main content

Configure Nexus Repository Manager Pro Crowd Integration in Nexus Repository 2

Nexus Repository 2

Configure Nexus Repository Manager Pro to Trust Crowd’s Secure URL (Optional)

Although optional, we advise the connection from Nexus Repository Manager Pro to your Crowd server to use the HTTPS protocol.

If the Crowd Server certificate is not signed by a public certificate authority, you may have to explicitly trust the server certificate using SSL support. A common symptom observed are peer not authenticated messages, when trying to connect to the Crowd server.

Steps to explicitly trust the Crowd Server URL certificate in Nexus Repository Manager Pro are:

  1. Enable the SSL: Crowd capability

  2. Add the Crowd server certificate to the truststore

  3. Configure Crowd Connection URL using the HTTPS url

Note

The SSL: Crowd capability is only available in Nexus Repository Manager Pro 2.7+. Older versions must manually configure trust using an explicit truststore specified with JRE system properties.

Enabling the SSL: Crowd Capability

  1. Login to Nexus Repository Manager as an Administrator.

  2. In the sidebar menu, click AdministrationCapabilities to open the Capabilities panel.

  3. Click the Add button in the panel toolbar. Select SSL: Crowd in the Type field. Make sure the Enabled checkbox is checked and click the Save button.

5410585.png

Figure 9.5. SSL: Crowd Capability

Adding the Crowd Server Certificate to the Truststore

In order to add the server certificate of your Crowd server to the truststore, locate the HTTPS Crowd Server URL and follow the Load from server instructions in Trusting SSL Certificates Globally.

Configure Nexus Crowd Connection

The Crowd Configuration screen displayed in Figure 9.6, “Crowd Configuration Panel” can be accessed by users with administrative privileges in Nexus Repository Manager Pro by selecting Crowd in the Security section of the main menu.

5410584.png

Figure 9.6. Crowd Configuration Panel

This panel contains the following fields:

Application Name

This field contains the application name of a Crowd application. This value should match the value in the Name field of the form shown in Figure 9.1, “Creating a Nexus Crowd Application”.

Application Password

This field contains the application password of a Crowd application. This value should match the value in the Password field of the form shown in Figure 9.1, “Creating a Nexus Crowd Application”.

Crowd Server URL

This is the URL used to connect to the Crowd Server. Both http:// and https:// URLs are accepted. You may need to trust the crowd server certificate if a https:// URL is used.

HTTP Timeout

The HTTP Timeout specifies the number of milliseconds the repository manager will wait for a response from Crowd. A value of zero indicates that there is no timeout limit. Leave the field blank to use the default HTTP timeout.

You can use the Test Connection button to validate if your connection to Crowd is working. Once you have a working connection, do not forget to Save your configuration. Use Cancel to abort saving any changes.