--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "dokploy_certificate Resource - dokploy" subcategory: "" description: |- A TLS certificate uploaded to Dokploy, for domains that use certificate_type = "custom". ~> The private key is stored in Terraform state. Use a state backend with encryption at rest. --- # dokploy_certificate (Resource) A TLS certificate uploaded to Dokploy, for domains that use `certificate_type = "custom"`. ~> The private key is stored in Terraform state. Use a state backend with encryption at rest. ## Schema ### Required - `certificate_data` (String) PEM-encoded certificate chain. - `name` (String) Display name of the certificate. - `private_key` (String, Sensitive) PEM-encoded private key. ### Optional - `auto_renew` (Boolean) Whether Dokploy should renew this certificate automatically. - `server_id` (String) Server this certificate is installed on. ### Read-Only - `certificate_path` (String) Path where Dokploy writes the certificate on disk. - `id` (String) Unique certificate identifier.