Problem
I am trying to code sign our application with an EV Code Signing Certificate. When I run this command:
% codesign -s "Health Record Corporation" "MedKaz.app"
I get the following warning / error message:
Warning: unable to build chain to self-signed root for signer "Health Record Corporation"
MedKaz.app: errSecInternalComponent
%
Keychain Access
The Health Record Corporation certificate does show up under Certificates area in Keychain Access. I set the certificate to Always Trust in each category under the Trust section. However the certificate DOES NOT show up under My Certificates area. I think this is the issue which is causing the problem above (i.e. certificate should be visible in My Certificates) too.
My attempts to resolve
I rebooted my system and took out / put back in the secured certificate token USB drive that contains the certificate numerous times. No luck in showing up in My Certificates area.
I tried this recommendation to disable System Integrity Protection in Big Sur but to no avail.
Any ideas on how to resolve this problem?
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Code Signing