You can test the certificate communication in your environment using the Jamf Certificate SDK Sample App that is included with the SDK. You can run the following types of tests depending on your environment:
- Actual —The Actual test type makes network calls to the Jamf Pro server to request a certificate from a certificate authority (CA). This test ensures that communication is established between the app and Jamf Pro, and that the managed app configuration is sending the required information needed by the app to the CA server.Note:
This test requires access to a Jamf Pro instance.
- Simulated —The Simulated test type includes an embedded .p12 file for local testing so you can simulate certificate communication without a Jamf Pro instance or the required managed app configuration. You can use settings in the Sample App to simulate a slow network connection and an error state.Note:
This test does not require access to a Jamf Pro instance.
Test progress, errors and results are displayed for both types of tests in the Action Log of the Sample App interface. In addition, you can schedule a local notification that prompts to renew the certificate.
To test certificate communication using the Actual test type, you need access to a Jamf Pro instance so you can distribute the Sample App to a device using Jamf Pro. This allows you to apply the required managed app configuration to the app during distribution. For information on distributing in-house apps developed with the Jamf Certificate SDK, see the Integrating with Active Directory Certificate Services (AD CS) Using Jamf Pro technical paper.
To test certificate communication using the Simulated test type, the Sample App can be distributed to a device through any means that fit your environment.
In addition, ensure the general requirements for distributing apps are met. For more information, see Jamf Certificate SDK Requirements.