Skip to content

Commit e7f6cc8

Browse files
committed
5.1 - Explain how to generate SSL DB cert for 5.0 peripheral server migration.
1 parent d5402c9 commit e7f6cc8

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Explained how to generate the DB certificate for the upgrade of a 5.0
2+
peripheral server (bsc#1248282)
13
- Fixed the issue with importing SSL certificates in Administration Guide
24
(bsc#1253382)
35
- Added precisions on the intermediate CA certificates to Administration

modules/installation-and-upgrade/pages/container-deployment/mlm/migrations/server/server-mlm-50-51.adoc

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,30 @@ ifdef::backend-pdf[]
2525
include::../../../../../partials/snippet-ssl-requirements.adoc[leveloffset=+2]
2626
endif::[]
2727

28-
During a migration the server SSL certificate and CA chain are copied from the source server, meaning that only the database certificates are required
28+
During a migration the server SSL certificate and CA chain are copied from the source server, meaning that only the database certificates are required.
29+
30+
[NOTE]
31+
====
32+
{productname} 5.0 peripheral servers are always using third-party SSL certificates.
33+
If the hub server has generated the certificates for the peripheral server, it needs to generate the certificate for the peripheral database too.
34+
On the hub server, run the following command for each of the peripheral server to migrate.
35+
36+
[source,shell]
37+
----
38+
mgrctl exec -ti -- rhn-ssl-tool --gen-server --dir="/root/ssl-build" --set-country="COUNTRY" \
39+
--set-state="STATE" --set-city="CITY" --set-org="ORGANIZATION" \
40+
--set-org-unit="ORGANIZATION UNIT" --set-email="[email protected]" \
41+
--set-hostname=<hostname>-reportdb --set-cname="example.com" --set-cname=db --set-cname=reportdb
42+
----
43+
44+
The files to use will be inside the server container and need to be copied to the new peripheral server host:
45+
46+
* [litteral]``/root/ssl-build/RHN-ORG-TRUSTED-SSL-CERT`` as the root CA,
47+
48+
* [litteral]``/root/ssl-build/<hostname>-reportdb/server.crt`` as the db certificate and
49+
50+
* [litteral]``/root/ssl-build/<hostname>-reportdb/server.key`` as the db certificate's key.
51+
====
2952

3053

3154

0 commit comments

Comments
 (0)