CreateProfileBody
Properties
| Property | Type | Description | |
|---|---|---|---|
certificate_profiles_name
| string | Required | What the organization calls the profile, 1 to 100 characters. The forms that make a certificate offer it by this name. |
certificate_profiles_base
| one of: 1, 2, 3, 4 | Required | The ZanPKI profile it is made from, which decides what its certificates are for and every extension they're signed with: 1 TLS server, 2 mTLS client, 3 VPN user, or 4 TLS server and client. It stays the same once the profile is made. |
certificate_profiles_key_types
| list of one of: 1, 2, 3, 4, 5, or null | Optional | The key types its certificates may have: 1 RSA 2048, 2 RSA 3072, 3 RSA 4096, 4 EC P-256, 5 EC P-384. At least one. |
certificate_profiles_default_key_type
| one of: 1, 2, 3, 4, 5, null | Optional | The key type a form starts at, one of its key types. |
certificate_profiles_digest
| one of: 1, 2, 3, null | Optional | What its certificates are signed over when no digest is asked for: 1 SHA-256, 2 SHA-384 or 3 SHA-512; null to match the authority's key. |
certificate_profiles_default_days
| integer (int32), or null | Optional | How many days a certificate lasts when none are given, as with ACME: from 1 to its most days. |
certificate_profiles_most_days
| integer (int32), or null | Optional | The longest a certificate of this profile may last: 1 to 825 days. |
certificate_profiles_name_kinds
| list of one of: 1, 2, 6, 7, or null | Optional | The kinds of alternative name its certificates may hold: 2 DNS names, 7 IP addresses, 1 email addresses, 6 URIs. A server's profile takes DNS names or IP addresses. |
certificate_profiles_subject_organization
| string, or null | Optional | Filled into a certificate's subject when it gives none. Its unit, city, state and country are filled in the same way. |
certificate_profiles_subject_unit
| string, or null | Optional | Filled into a certificate's subject when it gives no unit. |
certificate_profiles_subject_city
| string, or null | Optional | Filled into a certificate's subject when it gives no city. |
certificate_profiles_subject_state
| string, or null | Optional | Filled into a certificate's subject when it gives no state or province. |
certificate_profiles_subject_country
| string, or null | Optional | Two capital letters, filled into a certificate's subject when it gives no country. |
Used by
| Method | Path | Summary |
|---|---|---|
| POST | /organizations/{organizationId}/profiles | Make one of the organization's own profiles from one of ZanPKI's; each setting left out is that one's. |