webui.crypto.csr_profiles¶
Return predefined CSR profiles for common certificate types.
Each profile provides recommended defaults for key type, key length or curve, lifetime, digest algorithm, and X.509 extensions (basic constraints, key usage, extended key usage).
No Additional Items
CSRProfilesModel
Type: objectPredefined certificate profiles for common use cases.
No Additional PropertiesRSACSRExtensions
Type: objectCertificate profile configuration for HTTPS RSA certificates.
No Additional PropertiesRSACSRExtensionsModel
Type: objectCertificate extensions configuration for RSA certificates.
No Additional PropertiesBasicConstraintsModel
Type: objectBasic constraints extension configuration.
No Additional PropertiesEnabled
Type: boolean Default: trueWhether the basic constraints extension is enabled.
Ca
Type: boolean Default: falseWhether this certificate can act as a certificate authority.
Extension Critical
Type: boolean Default: trueWhether this extension is marked as critical.
ExtendedKeyUsageModel
Type: objectExtended key usage extension configuration.
No Additional PropertiesEnabled
Type: boolean Default: trueWhether the extended key usage extension is enabled.
Extension Critical
Type: boolean Default: trueWhether this extension is marked as critical.
Usages
Type: array of string Default: ["SERVER_AUTH", "CLIENT_AUTH"]Array of extended key usage purposes for the certificate.
No Additional ItemsEach item of this array must be:
RSAKeyUsageModel
Type: objectKey usage extension configuration for RSA certificates.
No Additional PropertiesEnabled
Type: boolean Default: trueWhether the key usage extension is enabled.
Extension Critical
Type: boolean Default: trueWhether this extension is marked as critical.
Digital Signature
Type: boolean Default: trueWhether the key can be used for digital signatures.
Key Encipherment
Type: boolean Default: trueWhether the key can be used for key encipherment.
Key Agreement
Type: boolean Default: trueWhether the key can be used for key agreement.
Key Length
Type: integer Default: 2048RSA key length in bits.
Key Type
Type: string Default: "RSA"Type of cryptographic key (RSA).
Lifetime
Type: integer Default: 397Certificate validity period in days.
Digest Algorithm
Type: string Default: "SHA256"Hash algorithm for certificate signing.
ECCCSRExtensions
Type: objectCertificate profile configuration for HTTPS ECC certificates.
No Additional PropertiesECCCSRExtensionsModel
Type: objectCertificate extensions configuration for ECC certificates.
No Additional PropertiesBasicConstraintsModel
Type: objectBasic constraints extension configuration.
No Additional PropertiesEnabled
Type: boolean Default: trueWhether the basic constraints extension is enabled.
Ca
Type: boolean Default: falseWhether this certificate can act as a certificate authority.
Extension Critical
Type: boolean Default: trueWhether this extension is marked as critical.
ExtendedKeyUsageModel
Type: objectExtended key usage extension configuration.
No Additional PropertiesEnabled
Type: boolean Default: trueWhether the extended key usage extension is enabled.
Extension Critical
Type: boolean Default: trueWhether this extension is marked as critical.
Usages
Type: array of string Default: ["SERVER_AUTH", "CLIENT_AUTH"]Array of extended key usage purposes for the certificate.
No Additional ItemsEach item of this array must be:
ECCKeyUsageModel
Type: objectKey usage extension configuration for ECC certificates.
No Additional PropertiesEnabled
Type: boolean Default: trueWhether the key usage extension is enabled.
Extension Critical
Type: boolean Default: trueWhether this extension is marked as critical.
Digital Signature
Type: boolean Default: trueWhether the key can be used for digital signatures.
Ec Curve
Type: string Default: "SECP384R1"Elliptic curve to use for key generation.
Key Type
Type: string Default: "EC"Type of cryptographic key (ECC).
Lifetime
Type: integer Default: 397Certificate validity period in days.
Digest Algorithm
Type: string Default: "SHA256"Hash algorithm for certificate signing.
Required roles: CERTIFICATE_READ