Skip to content

Commit d809909

Browse files
authored
Merge pull request #36936 from bergerhoffer/BZ-1992431
BZ-1992431: Adding note about self-signed certs
2 parents e3c1c94 + 045eac0 commit d809909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/oauth-customizing-the-oauth-server-URL.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ If you update the internal OAuth server URL, you might break trust from componen
1313
1414
[source,terminal]
1515
----
16-
$ oc login -u <username> -p <password> --certificate-authority=<path_to_ca.crt>
16+
$ oc login -u <username> -p <password> --certificate-authority=<path_to_ca.crt> <1>
1717
----
18+
<1> For self-signed certificates, the `ca.crt` file must contain the custom CA certificate, otherwise the login will not succeed.
1819
1920
The Cluster Authentication Operator publishes the OAuth server's serving certificate in the `oauth-serving-cert` config map in the `openshift-config-managed` namespace. You can find the certificate in the `data.ca-bundle.crt` key of the config map.
2021
====

0 commit comments

Comments
 (0)