Unable to build chain to self-signed root even though identity is valid

Good day.

We are moving our CI to Github Actions and we have met a problem whereby even though we have 1/1 codesigning identities that are valid, trying to sign MyTrue as per guides posted in the forum still results in this error.

SSH is fine.

Would appreciate to have some light shed on this. Thanks in advance!

To add on, I unlock login.keychain everytime my CI runs (and every ssh session)

EDIT: Runners are self hosted hence the SSH

I have a pair of posts that cover this topic in general, starting with Resolving errSecInternalComponent errors during code signing.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

This sounds potentially similar to my issue here: https://developer.apple.com/forums/thread/737019 I was able to resolve by adding the intermediate certificate to the root user's login keychain (despite the signing identity + intermediate certificates being present on the non root user's login keychain, which was also the user executing jobs for github actions in our case).

Unable to build chain to self-signed root even though identity is valid
 
 
Q