Deploying Certificate to MAC OS 10.3 - 10.4

(imported topic written by SystemAdmin)

Good day,

Can anyone pass on any help, we’re able to install certificates through the terminal with the following commands. The last command requires the password to be typed in.

cp /system/library/keychains/x509anchors ~/library/keychains/

certtool i /certificate/name.cer k=x509anchors

sudo cp ~/library/keychains/x509anchors /system/library/keychains

We’ve attempted to replicate this in Bigfix with the following action:

// wait cp /system/library/keychains/x509anchors ~/library/keychains/

wait cp /system/library/keychains/x509anchors ~/library/keychains/

wait certtool i __Download/name.cer k=x509anchors

// wait sudo cp ~/library/keychains/x509anchors /system/library/keychains

wait cp ~/library/keychains/x509anchors /system/library/keychains

All the lines complete successfully, but the certificate doesn’t install.

(imported comment written by SystemAdmin)

Anyone?

(imported comment written by NoahSalzman)

Uh… ~ (tilde, aka home dir) seems like a bad idea in general. Have you tried absolute paths?

(imported comment written by SystemAdmin)

Worked… Thank you again