Any one know if Image-builder has native support to add a ROOT ca with the chain?
I looked at osbuild but site but didn’t’ find any information in the documents about including certificates in the image.
That or if there is a way to install a single rpm from a web server? In this case I am trying to install the katello-ca-consumer-latest.noarch.rpm
I tried to add a web server as a repo source but no luck since it’s not a true yum repo fails looking for repomd.xml
I tried to adding the cert like this in my toml file. the files is there when the image is deployed as a vm but when clound init runs it won’t trust the cert.
[[customizations.files]]
path = “/etc/pki/ca-trust/source/anchors/katello_server-host-cert.crt”
mode = “0644”
user = “root”
group = “root”
data = ‘’’
-----BEGIN CERTIFICATE-----
cert body here
-----END CERTIFICATE-----
‘’’