Certificate is a type to represent a Certificate from ACME
5 top-level fields · last changed in cert-manager v0.15.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
CertificateSpec defines the desired state of Certificate. A valid Certificate requires at least one of a CommonName, DNSName, or URISAN to be valid.
CommonName is a common name to be used on the Certificate. The CommonName should have a length of 64 characters or fewer to avoid generating invalid CSRs. This value is ignored by TLS clients when any subject alt name is set. This is x509 behaviour: https://tools.ietf.org/html/rfc6125#section-6.4.4
DNSNames is a list of subject alt names to be used on the Certificate.
Certificate default Duration
EmailSANs is a list of Email Subject Alternative Names to be set on this Certificate.
IPAddresses is a list of IP addresses to be used on the Certificate
IsCA will mark this Certificate as valid for signing. This implies that the 'cert sign' usage is set
IssuerRef is a reference to the issuer for this certificate. If the 'kind' field is not set, or set to 'Issuer', an Issuer resource with the given name in the same namespace as the Certificate will be used. If the 'kind' field is set to 'ClusterIssuer', a ClusterIssuer with the provided name will be used. The 'name' field in this stanza is required at all times.
KeyAlgorithm is the private key algorithm of the corresponding private key for this certificate. If provided, allowed values are either "rsa" or "ecdsa" If KeyAlgorithm is specified and KeySize is not provided, key size of 256 will be used for "ecdsa" key algorithm and key size of 2048 will be used for "rsa" key algorithm.
KeyEncoding is the private key cryptography standards (PKCS) for this certificate's private key to be encoded in. If provided, allowed values are "pkcs1" and "pkcs8" standing for PKCS#1 and PKCS#8, respectively. If KeyEncoding is not specified, then PKCS#1 will be used by default.
KeySize is the key bit size of the corresponding private key for this certificate. If provided, value must be between 2048 and 8192 inclusive when KeyAlgorithm is empty or is set to "rsa", and value must be one of (256, 384, 521) when KeyAlgorithm is set to "ecdsa".
Keystores configures additional keystore output formats stored in the `secretName` Secret resource.
JKS configures options for storing a JKS keystore in the `spec.secretName` Secret resource.
Create enables JKS keystore creation for the Certificate. If true, a file named `keystore.jks` will be created in the target Secret resource, encrypted using the password stored in `passwordSecretRef`. The keystore file will only be updated upon re-issuance.
PasswordSecretRef is a reference to a key in a Secret resource containing the password used to encrypt the JKS keystore.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
PKCS12 configures options for storing a PKCS12 keystore in the `spec.secretName` Secret resource.
Create enables PKCS12 keystore creation for the Certificate. If true, a file named `keystore.p12` will be created in the target Secret resource, encrypted using the password stored in `passwordSecretRef`. The keystore file will only be updated upon re-issuance.
PasswordSecretRef is a reference to a key in a Secret resource containing the password used to encrypt the PKCS12 keystore.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Organization is the organization to be used on the Certificate
Options to control private keys used for the Certificate.
RotationPolicy controls how private keys should be regenerated when a re-issuance is being processed. If set to Never, a private key will only be generated if one does not already exist in the target `spec.secretName`. If one does exists but it does not have the correct algorithm or size, a warning will be raised to await user intervention. If set to Always, a private key matching the specified requirements will be generated whenever a re-issuance occurs. Default is 'Never' for backward compatibility.
Certificate renew before expiration duration
SecretName is the name of the secret resource to store this secret in
Full X509 name specification (https://golang.org/pkg/crypto/x509/pkix/#Name).
Countries to be used on the Certificate.
Cities to be used on the Certificate.
Organizational Units to be used on the Certificate.
Postal codes to be used on the Certificate.
State/Provinces to be used on the Certificate.
Serial number to be used on the Certificate.
Street addresses to be used on the Certificate.
URISANs is a list of URI Subject Alternative Names to be set on this Certificate.
Usages is the set of x509 actions that are enabled for a given key. Defaults are ('digital signature', 'key encipherment') if empty
CertificateStatus defines the observed state of Certificate
LastTransitionTime is the timestamp corresponding to the last status change of this condition.
Message is a human readable description of the details of the last transition, complementing reason.
Reason is a brief machine readable explanation for the condition's last transition.
Status of the condition, one of ('True', 'False', 'Unknown').
Type of the condition, currently ('Ready').
The name of the Secret resource containing the private key to be used for the next certificate iteration. The keymanager controller will automatically set this field if the `Issuing` condition is set to `True`. It will automatically unset this field when the Issuing condition is not set or False.
The expiration time of the certificate stored in the secret named by this resource in spec.secretName.
The current 'revision' of the certificate as issued. When a CertificateRequest resource is created, it will have the `cert-manager.io/certificate-revision` set to one greater than the current value of this field. Upon issuance, this field will be set to the value of the annotation on the CertificateRequest resource used to issue the certificate. Persisting the value on the CertificateRequest resource allows the certificates controller to know whether a request is part of an old issuance or if it is part of the ongoing revision's issuance by checking if the revision value in the annotation is greater than this field.
Source: cert-manager.yaml
Changes to Certificate (cert-manager.io/v1alpha2) in each cert-manager version, compared to the version before it.
4 properties have been added
Released · View Certificate in v0.15.0
1 property has been added
1 property has changed the description
Released · View Certificate in v0.14.0
1 property has been added
Released · View Certificate in v0.13.0
Certificate was first seen on this version of cert-manager
Released · View Certificate in v0.11.0
No examples of Certificate yet. Contribute one on GitHub.