Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 3. Configuring Organizations, Locations and Life Cycle Environments
Figure 3.1. Example Topology for Red Hat Satellite 6
3.1. Organizations Copier lienLien copié sur presse-papiers!
Important
3.1.1. Creating an Organization Copier lienLien copié sur presse-papiers!
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.
- Click to assign all hosts with no organization to the new organization.
- Click to manually select and assign the hosts with no organization.
- Click to 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 Copier lienLien copié sur presse-papiers!
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 Copier lienLien copié sur presse-papiers!
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
pfxfile into your browser: Navigate to. Select in the view to open the . On the tab, click and select the pfxfile 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:Pulp uses the organization label so the URL must use the organization label too.
http://satellite.example.com/pulp/repos/organization_label
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
curlto access a repository, use a command as follows:Ensure the paths to$ curl -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.pemandkey.pemare the correct absolute paths otherwise the command will fail silently.
3.1.4. Editing an Organization Copier lienLien copié sur presse-papiers!
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 Copier lienLien copié sur presse-papiers!
Procedure 3.6. To Remove an Organization:
- Navigate to
. - Select from the drop-down menu to the right of the name of the organization you want to remove.
- An alert box appears:
Delete Organization? - Click to delete the organization.