certificate.update¶
Update certificate of id
Only name attribute can be updated.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerID of the certificate to update.
Parameter 2: certificate_update
certificate_update
Type: objectUpdated certificate configuration data.
No Additional PropertiesRenew Days
Type: integerDays before expiration to attempt renewal.
Value must be greater or equal to 1
and lesser or equal to 30
Add To Trusted Store
Type: booleanWhether to add this certificate to the trusted certificate store.
Name
Type: stringCertificate name.
Must be at least 1
characters long
Must be at most 120
characters long
CertificateEntry
Type: objectThe updated certificate configuration.
No Additional PropertiesId
Type: integerUnique identifier for this certificate entry.
Type
Type: integerInternal certificate type identifier used to determine certificate capabilities.
Name
Type: stringHuman-readable name for this certificate. Must be unique and contain only alphanumeric characters, dashes, and underscores.
Must be at least 1
characters long
Certificate
PEM-encoded X.509 certificate data. null
for certificate signing requests (CSR) that have not yet been signed.
Privatekey
PEM-encoded private key corresponding to the certificate. null
if no private key is available or for imported certificates without keys.
Csr
PEM-encoded Certificate Signing Request (CSR) data. null
for imported certificates or completed ACME certificates.
Acme Uri
ACME directory server URI used for automated certificate management. null
for non-ACME certificates.
Domains Authenticators
Mapping of domain names to ACME DNS authenticator IDs for domain validation. null
for non-ACME certificates.
Renew Days
Number of days before expiration to attempt automatic renewal. Only applicable for ACME certificates. null
for non-renewable certificates.
Acme
ACME registration and account information used for certificate lifecycle management. null
for non-ACME certificates.
Add To Trusted Store
Type: booleanWhether this certificate should be added to the system's trusted certificate store.
Root Path
Type: stringFilesystem path where certificate-related files are stored.
Must be at least 1
characters long
Certificate Path
Filesystem path to the certificate file (.crt). null
if no certificate is available.
Must be at least 1
characters long
Privatekey Path
Filesystem path to the private key file (.key). null
if no private key is available.
Must be at least 1
characters long
Csr Path
Filesystem path to the certificate signing request file (.csr). null
if no CSR is available.
Must be at least 1
characters long
Cert Type
Type: stringHuman-readable certificate type, typically 'CERTIFICATE' for standard certificates.
Must be at least 1
characters long
Cert Type Existing
Type: booleanWhether this is an existing certificate (imported or generated).
Cert Type Csr
Type: booleanWhether this entry represents a Certificate Signing Request (CSR) rather than a signed certificate.
Cert Type Ca
Type: booleanWhether this certificate is a Certificate Authority (CA) certificate.
Chain List
Type: array of stringArray of PEM-encoded certificates in the certificate chain, starting with the leaf certificate.
No Additional ItemsEach item of this array must be:
Key Length
Size of the cryptographic key in bits. null
if key information is unavailable.
Key Type
Type of cryptographic key algorithm (e.g., 'RSA', 'EC', 'DSA'). null
if key information is unavailable.
Must be at least 1
characters long
Country
ISO 3166-1 alpha-2 country code from the certificate subject. null
if not specified.
State
State or province name from the certificate subject. null
if not specified.
City
City or locality name from the certificate subject. null
if not specified.
Organization
Organization name from the certificate subject. null
if not specified.
Organizational Unit
Organizational unit from the certificate subject. null
if not specified.
Common
Common name (CN) from the certificate subject. null
if not specified.
San
Subject Alternative Names (SAN) from the certificate extension. null
if no SAN extension is present.
No Additional Items
Each item of this array must be:
Email address from the certificate subject. null
if not specified.
Dn
Distinguished Name (DN) of the certificate subject in RFC 2253 format. null
if certificate parsing failed.
Subject Name Hash
Hash of the certificate subject name. null
if certificate parsing failed.
Extensions
Type: objectX.509 certificate extensions parsed into a dictionary structure.
Digest Algorithm
Cryptographic hash algorithm used for certificate signing (e.g., 'SHA256'). null
if unavailable.
Lifetime
Certificate validity period in seconds. null
if certificate parsing failed.
From
Certificate validity start date in ISO 8601 format. null
if certificate parsing failed.
Until
Certificate validity end date in ISO 8601 format. null
if certificate parsing failed.
Serial
Certificate serial number. null
if certificate parsing failed.
Chain
Whether this certificate has an associated certificate chain. null
if unavailable.
Fingerprint
SHA-256 fingerprint of the certificate in hexadecimal format. null
if certificate parsing failed.
Expired
Whether the certificate has expired. null
if certificate parsing failed.
Parsed
Type: booleanWhether the certificate data was successfully parsed and validated.
Required roles: CERTIFICATE_WRITE