Started receiving - Warning: unable to build chain to self-signed root for signer "Developer ID Application:"

I've been signing bundles for quite a while on this system. However, when trying to harden and sign since console apps built as part of a command line master build, code sign has started returning the old:

Warning: unable to build chain to self-signed root for signer "Developer ID Application:"

error again. I have verified that I have the latest intermediate certificates and that both they and my certs are all set to "Use System Defaults" as previously recommended.

On the other hand, codesiging a GUI desktop app built with Xcode works.

Xcode is 14.1 (14B47b) macOS is 12.6.1 System is M1,2020

Cancel this - it's a permissions thing. I was trying to code sign as root instead of my user.

I was trying to code sign as root instead of my user.

Yeah, don’t do that (-:

For those reading along at home, I have a Resolving errSecInternalComponent errors during code signing post that explains the most common causes of this error.

Share and Enjoy

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

Started receiving - Warning: unable to build chain to self-signed root for signer "Developer ID Application:"
 
 
Q