Posted on 11-01-2022 03:11 PM
Hello everyone.
I am deploying Snapcomms, a screensaver-type application to be used by our communications department. The pacakge is installed successfully, but it needs access to PPPC settings.
I am using the command codesign -dr - /Applications/Snap\ Client.app to get information about what settings to utilize. These are the settings I got:
However, the deployment errors with this message:
In the payload (UUID: EF17794A-9081-4D7B-944F-EAA52BDA761F), the key 'CodeRequirement' has an invalid value.
I contacted the company's support, but we don't have any new information yet.
I am looking for suggestions in case someone has already deployed Snapcomms with Jamf or suggestions about troubleshooting this issue.
Regards!
Solved! Go to Solution.
Posted on 11-01-2022 09:44 PM
The format should be as such:-
anchor apple generic and identifier "com.snapcomms.osx.SnapClient" and (certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "NSTXJ25X53")
Posted on 11-01-2022 09:44 PM
The format should be as such:-
anchor apple generic and identifier "com.snapcomms.osx.SnapClient" and (certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "NSTXJ25X53")
Posted on 11-02-2022 11:21 AM
Keith,
Yes, after using you CodeRequirement suggestion I don't see the error any longer. I appreciate your help. 👏
Posted on 11-02-2022 05:53 AM
Absolutely learn how to do things the long way first, but formatting on the code requirement can be a bit annoying. I found a tool some time back that gives you all this in a text dump, along with an icon you can upload to JAMF.
Posted on 11-02-2022 11:23 AM
Thanks for the reference. I run this tool and it does provide clear information that I can use to set up PPPC profiles to deploy. Didn't do the trick for Snapcomms but sure will be useful in the future.
Thanks!