Show Table of Contents
3.3. Adding a Content Delivery Server
To add a new CDS after Red Hat Update Infrastructure is deployed, perform the following steps.
Note
In this section, cds02.example.com is the example hostname for a new CDS.
Procedure 3.5. Generate SSL certificate for the new CDS
- Generate the CDS SSL key, using the following command:
# openssl genrsa -out ssl_cds02.key 2048
- Generate a certificate request using the
opensslcommand:# openssl req -new -key ssl_cds02.key -out ssl_cds02.csr
The tool will prompt you for further information, and then create an output file calledssl_cds02.csr. - Use the CSR file to create a SSL certificate for the new CDS instance with the following command:
# openssl x509 -req -days 365 -CA ca.crt -CAkey ca.key -in ssl_cds02.csr -out ssl_cds02.crt
Procedure 3.6. Prepare the answers file and generate RPM for the new CDS
- Change directory to the answers file created in Procedure 3.4, “Editing the Answers File”
# cd /etc/rhui/myanswersfile
- Edit the
/etc/rhui/myanswersfileanswers file using your preferred text editor to include the correct details under[cds-2].[cds-2] rpm_name: rh-cds2-config hostname: cds02.example.com ssl_cert: ssl_cds02.crt ssl_key: ssl_cds02.key
- To execute the file and create the configuration RPMs, change to root user and run the rhui-installer command:
# rhui-installer
/etc/rhui/myanswersfile - Finally, install
/tmp/rhui/rh-cds2-config-2.1-2.el6.noarch.rpmoncds02.example.com.# yum install /tmp/rhui/rh-cds2-config-2.1-2.el6.noarch.rpm

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.