Automated deployment

You can use the following command to import certificates:

sudo /usr/bin/security add-trusted-cert -d -k /Library/Keychains/System.keychain -r trustAsRoot -p ssl "/<folder>/<certificate name>.cer".

This can be used for automated deployment via script. Change folder and certificate names according to your settings.