I\'ve try install .p12 cert to my macos use command line.
I can install .cer
sudo certtool I Certificates.p12 d
but it doesn\'t work on
This will import the bundle to the default keychain:
security import ./bundle.p12 -P secretPassword
secretPassword is the p12 file encryption password.
secretPassword
While the answer by Stuart should work, it is not required to create another keychain first.