Closed hanygirgis closed 4 months ago
Thanks for reporting this, we'll take a look cc/ @jiparis
I believe CAS deployment pod doesn't have support for mounting customCAs. We will need to do this https://github.com/chainloop-dev/chainloop/pull/964 but for the CAS pod
Hi, a new version of the chart has been released with the ability to add customCAs
to the CAS deployment.
@hanygirgis could you try it? Just add the PEM CA certificate to the cas
section in your values.yaml. Something like this:
cas:
...
customCAs:
- |-
-----BEGIN CERTIFICATE-----
MIIFmDCCA4CgAwIBAgIQU9C87nMpOIFKYpfvOHFHFDANBgkqhkiG9w0BAQsFADBm
BhMCVVMxMzAxBgNVBAoTKihTVEFHSU5HKSBJbnRlcm5ldCBTZWN1cml0eSBSZXNl
REDACTED
5CunuvCXmEQJHo7kGcViT7sETn6Jz9KOhvYcXkJ7po6d93A/jy4GKPIPnsKKNEmR
7DiA+/9Qdp9RBWJpTS9i/mDnJg1xvo8Xz49mrrgfmcAXTCJqXi24NatI3Oc=
-----END CERTIFICATE-----
It works now, thanks a lot.
When adding a file to an attestation (with a default S3/MinIO CAS backend), it fails in the CLI with this error:
The CAS pod has this error in the logs :
tls: failed to verify certificate: x509: certificate signed by unknown authority
Stacktrace: