Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions modules/ca-bundle-replacing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@
[id="ca-bundle-replacing_{context}"]
= Replacing the CA Bundle certificate

[role="_abstract"]
To trust a custom certificate authority for egress connections in {product-title}, you can replace the CA bundle by creating a config map with your root CA certificate and updating the cluster proxy configuration.

.Procedure

. Create a config map that includes the root CA certificate used to sign the wildcard certificate:
+
[source,terminal]
----
$ oc create configmap custom-ca \
--from-file=ca-bundle.crt=</path/to/example-ca.crt> \//<1>
--from-file=ca-bundle.crt=</path/to/example-ca.crt> \
-n openshift-config
----
<1> `</path/to/example-ca.crt>` is the path to the CA certificate bundle on your local file system.
`</path/to/example-ca.crt>` is the path to the CA certificate bundle on your local file system.

. Update the cluster-wide proxy configuration with the newly created config map:
+
Expand Down
2 changes: 2 additions & 0 deletions security/certificates/updating-ca-bundle.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ include::_attributes/common-attributes.adoc[]

toc::[]

[role="_abstract"]
To trust custom certificate authorities for egress connections in {product-title}, you can update the CA bundle by specifying custom CA certificates in the cluster-wide proxy configuration.

include::modules/ca-bundle-understanding.adoc[leveloffset=+1]

Expand Down