Reply to security add-trusted-cert asks password twice in some cases: The authorization was denied since no user interaction was possible Apparently this command bypasses the GUI authorization check: sudo security authorizationdb write com.apple.trust-settings.admin allow Code Signing Entitlements Nov ’21