
KevinL.31090 (Customer) asked a question.
hey there, we are getting a slew of errors recently on enrolling devices into device trust. they pretty much all end with;
"ERROR: Failed to import certificate into keychainCommand '['launchctl', 'asuser', '502', 'sudo', '-u', 'kyu', 'security', 'import', '/Users/kyu/tmpOktaCert.p12', '-x', '-A', '-k', '/Users/kyu/Library/Keychains/okta.keychain', '-P', '']' returned non-zero exit status 1.
ERROR: Failed to enroll!!"
I have tried to search to see if could find anyone else with this issue but haven't really seen anything. Would love some help from Okta on this one since we are using the scripts provided in their device trust guide.

Hi @KevinL.31090 (Customer),
Thank you for posting on the Okta community page!
I have done some research and this error might appear when using an older version of the script, therefore I would advise to check if you are running the latest script and if not, I would recommend to download the newest version and see if the issue is still occurring.
I hope the above information is useful!