Skip to content

Commit 31ae2f0

Browse files
committed
OCPBUGS-22844: Added pk12util tool command to the nw-ovn-ipsec-north-south-enable.adoc doc
1 parent ac83941 commit 31ae2f0

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

modules/nw-ovn-ipsec-north-south-enable.adoc

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,15 @@ $ oc create -f ipsec-config.yaml
118118
--
119119

120120
. Create a machine config to add your certificates to the cluster:
121-
122-
.. To create Butane config files for the control plane and worker nodes, enter the following command:
121+
+
122+
.. Use the `pk12util` tool, which comes prepackaged with {op-system-base-full}, to specify a password that protects `PKCS#12` files by entering the following command. Ensure that you replace the `<password>` value with your password.
123+
+
124+
[source,terminal]
125+
----
126+
$ pk12util -W "<password>" -i /etc/pki/certs/left_server.p12 -d /var/lib/ipsec/nss/
127+
----
128+
+
129+
.. To create Butane config files for the control plane and compute nodes, enter the following command:
123130
+
124131
[NOTE]
125132
====
@@ -178,7 +185,7 @@ $ for role in master worker; do
178185
EOF
179186
done
180187
----
181-
188+
+
182189
.. To transform the Butane files that you created in the previous step into machine configs, enter the following command:
183190
+
184191
[source,terminal]
@@ -217,6 +224,7 @@ By default, the MCO updates one machine per pool at a time, causing the total ti
217224
====
218225

219226
. To confirm that IPsec machine configs rolled out successfully, enter the following commands:
227+
+
220228
.. Confirm that the IPsec machine configs were created:
221229
+
222230
[source,terminal]
@@ -230,7 +238,7 @@ $ oc get mc | grep ipsec
230238
80-ipsec-master-extensions 3.2.0 6d15h
231239
80-ipsec-worker-extensions 3.2.0 6d15h
232240
----
233-
241+
+
234242
.. Confirm that the that the IPsec extension are applied to control plane nodes:
235243
+
236244
[source,terminal]
@@ -243,8 +251,8 @@ $ oc get mcp master -o yaml | grep 80-ipsec-master-extensions -c
243251
----
244252
2
245253
----
246-
247-
.. Confirm that the that the IPsec extension are applied to worker nodes:
254+
+
255+
.. Confirm that the that the IPsec extension are applied to compute nodes:
248256
+
249257
[source,terminal]
250258
----

0 commit comments

Comments
 (0)