Use these parameters when you create a Trusted Server Certificates policy with the profile API. Apply the profile to the app with app-market/policy.
Parameter
Description
serverCertsList[ ]
An array of X.509 certificate files, as PEM-encoded data or base64-encoded DER format.
blockNetworkResources
iOS only: If validation is taking a long time and your PKIs include any components that attempt to access network resources, such as Certificate Revocation Lists, Authority Info Access, or Online Certificate Status Protocol records, you can set this parameter to avoid fetching network resources. Values:
1: Do not fetch network resources when validating certificates.
0: Do not modify PKI validation process.
Trusted Server Certificates API resources
To manage Trusted Server Certificates profiles, use these resources:
profile: Use type="trusted_server_certs" to create a Trusted Server Certificates profile. See example below.
profile/catalog/{policytype}: Use "trusted_server_certs" for "{policytype}". GET returns an array of details for all policy profiles of the specified type.
profile/{GUID}: Use the profile ID to specify a policy profile. GET returns details for the specified profile, PUT updates the details in the specified profile, and DELETE archives the profile.
settings/trusted-server-certs-default-profile (settings/{policytype}-default-profile): POST sets one of the Trusted Server Certificates profiles as the default. GET returns the GUID of the current default profile. DELETE archives the current default.
To retrieve details for the policy:
app-policy/{GUID}: Use the policy ID to specify a policy. GET returns details for the specified policy.
app-policy/code/{code}: Use POLICY_CODE_TRUSTED_SERVER_CERTS to specify the policy. GET returns details for the specified policy.
To secure an app with this policy:
app-market/policy: Use the policy GUID to apply the policy to an app.
Creating a Trusted Server Certificates profile
This example creates a Trusted Server Certificates profile with the profileAPI, specifying all options.