Skip to content

Commit 870a81d

Browse files
authored
Merge pull request #73321 from fedra19/fix_doc
Add step on how to get DN for allowedSubjectPatterns
2 parents 54fbb80 + 6240806 commit 870a81d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/nw-mutual-tls-auth.adoc

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

0 commit comments

Comments
 (0)