-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.12.z
Description of problem:
The AdditionalTrustBundle field in install-config.yaml can be used to add additional certs, however these certs are only propagated to the final image when the ImageContentSources field is also set for mirroring. If mirroring is not set then the additional certs will be on the bootstrap but not the final image. This can cause a problem when user has set up a proxy and wants to add additional certs as described here https://docs.openshift.com/container-platform/4.12/networking/configuring-a-custom-pki.html#installation-configure-proxy_configuring-a-custom-pki
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. In install-config.yaml set additionalTrustBundle and don't set imageContentSources. 2. Do an installation using the install-config.yaml. 3. After the final image is installed and rebooted view the certs in /etc/pki/ca-trust/source/anchors/openshift-config-user-ca-bundle.crt.
Actual results:
The certs defined in additionalTrustBundle are not in /etc/pki/ca-trust/source/anchors/openshift-config-user-ca-bundle.crt.
Expected results:
The certs defined in additionalTrustBundle will be in /etc/pki/ca-trust/source/anchors/openshift-config-user-ca-bundle.crt even when imgeContentSources are not defined.
Additional info:
- blocks
-
OCPBUGS-13752 AdditionalTrustBundle is only included when doing mirroring
- Closed
- is cloned by
-
OCPBUGS-13752 AdditionalTrustBundle is only included when doing mirroring
- Closed
- links to
-
RHSA-2023:5006 OpenShift Container Platform 4.14.z security update