Chapter 3. Configuring Organizations, Locations and Life Cycle Environments
Figure 3.1. Example Topology for Red Hat Satellite 6
3.1. Organizations
Important
3.1.1. Creating an Organization
Procedure 3.1. To Create an Organization:
- Navigate to
. - Click.
- In the Name field, insert the name of the new organization.
- In the Label field, insert the label of the new organization.
- In the Description field, insert a description of the new organization.
- Click.
- Select the hosts to assign to the new organization.
- Clickto assign all hosts with no organization to the new organization.
- Clickto manually select and assign the hosts with no organization.
- Clickto skip assigning hosts.
- Specify the configuration details of the organization such as Capsule Servers, subnets or compute resources. You can modify these settings later as described in Section 3.1.4, “Editing an Organization”.
- Click.
3.1.2. Creating an Organization Debug Certificate
Procedure 3.2. To Create a New Organization Debug Certificate:
- Navigate to
. - Select an organization for which you want to generate a debug certificate.
- Click. This generates a debug certificate.
- Save the certificate file in a secure location.
Note
3.1.3. Using an Organization Debug Certificate
curl
utility only requires extracting the certificate and key into separate files.
Procedure 3.3. To Use an Organization Debug Certificate in Firefox:
- Create and download an organization certificate as described in Procedure 3.2, “To Create a New Organization Debug Certificate:”.
- Open the X.509 certificate, for example, for the default organization:
$
vi 'Default Organization-key-cert.pem'
- Copy the contents of the file from
-----BEGIN RSA PRIVATE KEY-----
to-----END RSA PRIVATE KEY-----
inclusive, into a file calledkey.pem
. - Copy the contents of the file from
-----BEGIN CERTIFICATE-----
to-----END CERTIFICATE-----
inclusive, into a file calledcert.pem
. - Enter a command as follows to create a PKCS12 format certificate and enter a password or phrase when prompted:
$
openssl pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in cert.pem -inkey key.pem -out organization_label.pfx -name 'organization_name'
Enter Export Password: Verifying - Enter Export Password: - Using the preferences tab, import the resulting
pfx
file into your browser: Navigate to. Select in the view to open the . On the tab, click and select the pfx
file to load. You will be prompted for the password or phrase used when making the certificate. - Enter a URL in the following format into your browser's address bar to begin browsing for repositories:
http://satellite.example.com/pulp/repos/organization_label
Pulp uses the organization label so the URL must use the organization label too.
Procedure 3.4. To Use an Organization Debug Certificate with curl:
- Create and download an organization certificate as described in Procedure 3.2, “To Create a New Organization Debug Certificate:”.
- Open the X.509 certificate, for example, for the default organization:
$
vi 'Default Organization-key-cert.pem'
- Copy the contents of the file from
-----BEGIN RSA PRIVATE KEY-----
to-----END RSA PRIVATE KEY-----
inclusive, into a file calledkey.pem
. - Copy the contents of the file from
-----BEGIN CERTIFICATE-----
to-----END CERTIFICATE-----
inclusive, into a file calledcert.pem
. - Find a valid URL for a repository. You can use the browsing method described in the previous procedure or use the web UI. For example, using the web UI, navigate to
and select a Product by name. On the tab, select a repository by name and look for the entry. - To use
curl
to access a repository, use a command as follows:$
Ensure the paths tocurl -k --cert cert.pem --key key.pem http://satellite.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.2/os/
cert.pem
andkey.pem
are the correct absolute paths otherwise the command will fail silently.
3.1.4. Editing an Organization
Procedure 3.5. To Edit an Organization:
- Navigate to
. - Click the name of the organization to be edited.
- Select the resource to edit from the list on the left.
- Click the name of the desired items to add them to the Selected Items list.
- Click.
Note
3.1.5. Removing an Organization
Procedure 3.6. To Remove an Organization:
- Navigate to
. - Selectfrom the drop-down menu to the right of the name of the organization you want to remove.
- An alert box appears:
Delete Organization?
- Clickto delete the organization.