I have signing working on my Development system. Now I need to get the script to work on a build VM. It is a Mac OS 12 VM.
I installed all the various certs, and can see them in the Keychain app. All show as "trusted".
When I run the script, "security find-identities" only finds a couple (not the one I need), and they are marked as CSSMERR_TP_NOT_TRUSTED.
I'm quite sure I missed a step or setting somewhere, but have no idea of what or where.