Hi Alex,
> Just for some quick background, we recently upgraded/migrated our SUMA
> environment to MLM5.1. As a part of that process, we generated new
> certs for the hub. I suspect that this is causing my issue, but I am
> not sure exactly how to resolve it.
>
> [ ERROR ]: 10:29:44 | KiwiInstallPhaseFailed: System package
> Error code: Curl error 60
> Error message: SSL certificate problem: unable to get local issuer
Yep you get this error if the respective certificates where not
installed and imported as part of your image build process.
I see the error to happen in the "system" phase. This means during
the bootstrap phase no certificates that allows certificate validation
against the repo server(s) you are using can be made. Usually you see
the following as part of the bootstrap section
<packages type="bootstrap">
<package name="ca-certificates"/>
<package name="ca-certificates-mozilla"/>
...
obviously this is not enough to meet the needs in you case.
So you need at best a certificate package containing the the certs
for the hub you are using. Alternatively you can also put them into
a tarball. Next to this add this into your bootstrap section
<package name="hub-certs"/>
or
<archive name="hub-cert.tar.gz"/>
You need to make sure the certs are placed in "/usr/share/pki/trust/anchors"
if you are using a self-signed cert you also need to make sure the
CA cert is placed there. Make sure to add the following to the
script: "post_bootstrap.sh"
update-ca-certificates
If you have the certs packaged, the above can also come from the
package %post
Hope this helps
Regards,
Marcus
--
Public Key available via:
https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer