Generating Web Server Ssl Key Sets - Red Hat NETWORK SATELLITE 5.1.0 - CLIENT Configuration Manual

Client configuration
Hide thumbs Also See for NETWORK SATELLITE 5.1.0 - CLIENT:
Table of Contents

Advertisement

if needed and re-use it for all subsequent RHN server deployments.
The build process automatically creates the key pair and public RPM for distribution to clients.
All CA components end up in the build directory specified at the command line, typically
(or
/root/ssl-build
a CA SSL key pair, issue a command like this:
rhn-ssl-tool --gen-ca --password=MY_CA_PASSWORD --dir="/root/ssl-build" \
--set-state="North Carolina" --set-city="Raleigh" --set-org="Example Inc." \
--set-org-unit="SSL CA Unit"
Replace the example values with those appropriate for your organization. This will result in the
following relevant files in the specified build directory:
RHN-ORG-PRIVATE-SSL-KEY
RHN-ORG-TRUSTED-SSL-CERT
rhn-org-trusted-ssl-cert-VER-REL.noarch.rpm
client systems. It contains the CA SSL public certificate (above) and installs it in this location:
/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
rhn-ca-openssl.cnf
— always lists the latest versions of the relevant files.
latest.txt
Once finished, you're ready to distribute the RPM to client systems. Refer to
"Deploying the CA SSL Public Certificate to

2.4. Generating Web Server SSL Key Sets

Although you must have a CA SSL key pair already generated, you will likely generate web
server SSL key sets more frequently, especially if more than one Proxy or Satellite is deployed.
Note that the value for
set of SSL keys and certificates must be generated and installed for every distinct RHN server
hostname.
The server certificate build process works much like CA SSL key pair generation with one
exception: All server components end up in subdirectories of the build directory that reflect the
build system's machine name, such as
certificates, issue a command like this:
rhn-ssl-tool --gen-server --password=MY_CA_PASSWORD --dir="/root/ssl-build"
\ --set-state="North Carolina" --set-city="Raleigh" --set-org="Example Inc."
\ --set-org-unit="IS/IT" --set-email="admin@example.com" \
--set-hostname="rhnbox1.example.com
/etc/sysconfig/rhn/ssl
— the CA SSL private key
— the CA SSL public certificate
— the SSL CA configuration file
Clients".
is different for each server. In other words, a distinct
--set-hostname
/root/ssl-build/MACHINE_NAME
Generating Web Server SSL Key Sets
for older Satellites and Proxies). To generate
— the RPM prepared for distribution to
Section 3,
. To generate server
19

Advertisement

Table of Contents
loading

Table of Contents