Skip to content

Commit 920fa28

Browse files
[new-commit]Update nw-mutual-tls-auth.adoc
[new-commit]Update nw-mutual-tls-auth.adoc
1 parent 03d7c9a commit 920fa28

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

modules/nw-mutual-tls-auth.adoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,16 @@ $ oc edit IngressController default -n openshift-ingress-operator
6161
allowedSubjectPatterns:
6262
- "^/CN=example.com/ST=NC/C=US/O=Security/OU=OpenShift$"
6363
----
64+
6465
. Optional, get the Distinguished Name (DN) for `allowedSubjectPatterns` by entering the following command.
66+
+
6567
[source,terminal]
6668
----
67-
$ openssl x509 -in custom-cert.pem -noout -subject
68-
subject= /CN=example.com/ST=NC/C=US/O=Security/OU=OpenShift
69+
$ openssl x509 -in custom-cert.pem -noout -subject
70+
----
71+
+
72+
.Example output
73+
[source,text]
74+
----
75+
subject=C=US, ST=NC, O=Security, OU=OpenShift, CN=example.com
6976
----

0 commit comments

Comments
 (0)