Skip to content

Commit 6ce37c4

Browse files
authored
Merge pull request #27391 from mikemckiernan/fix/cert-cn
fix: country vs CN (BZ:1892606)
2 parents cfe920f + 3555ff4 commit 6ce37c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ipi-install-creating-a-disconnected-registry.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Generate a self-signed certificate for the registry node and put it in the `/opt
6161
[source,terminal]
6262
----
6363
[user@registry ~]$ host_fqdn=$( hostname --long )
64-
[user@registry ~]$ cert_c="<Common Name>" # Certificate Common Name (CN)
64+
[user@registry ~]$ cert_c="<Country Name>" # Country Name (C, 2 letter code)
6565
[user@registry ~]$ cert_s="<State>" # Certificate State (S)
6666
[user@registry ~]$ cert_l="<Locality>" # Certificate Locality (L)
6767
[user@registry ~]$ cert_o="<Organization>" # Certificate Organization (O)
@@ -79,7 +79,7 @@ Generate a self-signed certificate for the registry node and put it in the `/opt
7979
-subj "/C=${cert_c}/ST=${cert_s}/L=${cert_l}/O=${cert_o}/OU=${cert_ou}/CN=${cert_cn}"
8080
----
8181
+
82-
NOTE: When replacing `<Comman Name>`, ensure it only contains two letters. For example, `US`.
82+
NOTE: When replacing `<Country Name>`, ensure that it only contains two letters. For example, `US`.
8383

8484
. Update the registry node's `ca-trust` with the new certificate.
8585
+

0 commit comments

Comments
 (0)