Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
docs: initial structure
Sheen Capadnganfa59ffa969d7
diff --git a/docs/docs.json b/docs/docs.jsonindex 162235f515..f07f6bb06b 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -726,150 +726,141 @@"group": "Certificate Management","pages": ["documentation/platform/pki/overview",+ "documentation/platform/pki/getting-started",{"group": "Concepts","pages": [- "documentation/platform/pki/concepts/certificate-mgmt","documentation/platform/pki/concepts/certificate-lifecycle",- "documentation/platform/pki/concepts/certificate-components",- "documentation/platform/pki/concepts/pqc-algorithms",- "documentation/platform/pki/concepts/code-signing"- ]- },- {- "group": "Guides",- "pages": [- "documentation/platform/pki/guides/request-cert-agent",- "documentation/platform/pki/guides/request-cert-api",- "documentation/platform/pki/guides/request-cert-csr",- "documentation/platform/pki/guides/request-cert-acme",- "documentation/platform/pki/guides/certificate-approvals"+ "documentation/platform/pki/concepts/certificate-components"]}]},{- "group": "Product Reference",+ "group": "Applications","pages": [+ "documentation/platform/pki/applications/overview",+ "documentation/platform/pki/applications/certificates",{- "group": "Certificate Authorities",+ "group": "Enrollment Methods","pages": [- "documentation/platform/pki/ca/overview",- "documentation/platform/pki/ca/private-ca",- "documentation/platform/pki/ca/external-ca"+ "documentation/platform/pki/applications/enrollment-methods/overview",+ "documentation/platform/pki/applications/enrollment-methods/api",+ "documentation/platform/pki/applications/enrollment-methods/acme",+ "documentation/platform/pki/applications/enrollment-methods/est",+ "documentation/platform/pki/applications/enrollment-methods/scep"]},+ "documentation/platform/pki/applications/approvals",{- "group": "Certificates",+ "group": "Alerting","pages": [- "documentation/platform/pki/certificates/overview",- "documentation/platform/pki/certificates/profiles",- "documentation/platform/pki/certificates/policies",- "documentation/platform/pki/certificates/certificates"+ "documentation/platform/pki/applications/alerting/overview",+ "documentation/platform/pki/applications/alerting/webhook-alerts",+ "documentation/platform/pki/applications/alerting/slack-alerts",+ "documentation/platform/pki/applications/alerting/pagerduty-alerts"]},{- "group": "Enrollment Methods",+ "group": "Certificate Syncs","pages": [- "documentation/platform/pki/enrollment-methods/overview",- "documentation/platform/pki/enrollment-methods/api",- "documentation/platform/pki/enrollment-methods/acme",- "documentation/platform/pki/enrollment-methods/est",- "documentation/platform/pki/enrollment-methods/scep"+ "documentation/platform/pki/applications/certificate-syncs/overview",+ "documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager",+ "documentation/platform/pki/applications/certificate-syncs/aws-elastic-load-balancer",+ "documentation/platform/pki/applications/certificate-syncs/aws-secrets-manager",+ "documentation/platform/pki/applications/certificate-syncs/azure-key-vault",+ "documentation/platform/pki/applications/certificate-syncs/chef",+ "documentation/platform/pki/applications/certificate-syncs/cloudflare-custom-certificate",+ "documentation/platform/pki/applications/certificate-syncs/netscaler"]},{- "group": "Discovery",+ "group": "Guides","pages": [- "documentation/platform/pki/discovery/overview",- "documentation/platform/pki/discovery/network"+ "integrations/platforms/certificate-agent",+ "documentation/platform/pki/applications/guides/k8s-cert-manager",+ "documentation/platform/pki/applications/guides/gloo-mesh",+ "documentation/platform/pki/applications/guides/windows-server-acme",+ "documentation/platform/pki/applications/guides/nginx-certbot",+ "documentation/platform/pki/applications/guides/apache-certbot",+ "documentation/platform/pki/applications/guides/tomcat-certbot",+ "documentation/platform/pki/applications/guides/jboss-certbot",+ "documentation/platform/pki/applications/guides/jamf-pro-scep"]- },+ }+ ]+ },+ {+ "group": "Code Signing",+ "pages": [+ "documentation/platform/pki/code-signing/overview",+ "documentation/platform/pki/code-signing/signers",+ "documentation/platform/pki/code-signing/signing-policies",+ "documentation/platform/pki/code-signing/signing-requests",+ "documentation/platform/pki/code-signing/grants",+ "documentation/platform/pki/code-signing/pkcs11-module",{- "group": "Alerting",+ "group": "Guides","pages": [- "documentation/platform/pki/alerting/overview",- "documentation/platform/pki/alerting/webhook-alerts",- "documentation/platform/pki/alerting/slack-alerts",- "documentation/platform/pki/alerting/pagerduty-alerts"+ "documentation/platform/pki/code-signing/guides/pkcs11-jarsigner",+ "documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode",+ "documentation/platform/pki/code-signing/guides/pkcs11-apksigner",+ "documentation/platform/pki/code-signing/guides/pkcs11-cosign",+ "documentation/platform/pki/code-signing/guides/pkcs11-openssl",+ "documentation/platform/pki/code-signing/guides/pkcs11-gpg"]- },- "documentation/platform/pki/approvals",+ }+ ]+ },+ {+ "group": "Certificate Discovery",+ "pages": [+ "documentation/platform/pki/discovery/overview",+ "documentation/platform/pki/discovery/network"+ ]+ },+ {+ "group": "Certificate Authorities",+ "pages": [+ "documentation/platform/pki/ca/overview",{- "group": "Code Signing",+ "group": "Internal CA","pages": [- "documentation/platform/pki/code-signing/overview",- "documentation/platform/pki/code-signing/signers",- {- "group": "Approvals",- "pages": [- "documentation/platform/pki/code-signing/signing-policies",- "documentation/platform/pki/code-signing/signing-requests",- "documentation/platform/pki/code-signing/grants"- ]- },- "documentation/platform/pki/code-signing/pkcs11-module",- {- "group": "Guides",- "pages": [- "documentation/platform/pki/code-signing/guides/pkcs11-jarsigner",- "documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode",- "documentation/platform/pki/code-signing/guides/pkcs11-apksigner",- "documentation/platform/pki/code-signing/guides/pkcs11-cosign",- "documentation/platform/pki/code-signing/guides/pkcs11-openssl",- "documentation/platform/pki/code-signing/guides/pkcs11-gpg"- ]- }+ "documentation/platform/pki/ca/private-ca",+ "documentation/platform/pki/ca/ca-renewal",+ "documentation/platform/pki/ca/crl-distribution"]},{- "group": "Settings",+ "group": "External CA","pages": [- "documentation/platform/pki/settings/certificate-cleanup"+ "documentation/platform/pki/ca/external-ca",+ "documentation/platform/pki/ca/acme-ca",+ "documentation/platform/pki/ca/lets-encrypt",+ "documentation/platform/pki/ca/digicert",+ "documentation/platform/pki/ca/digicert-direct",+ "documentation/platform/pki/ca/sectigo",+ "documentation/platform/pki/ca/azure-adcs",+ "documentation/platform/pki/ca/aws-pca",+ "documentation/platform/pki/ca/aws-acm-public-ca",+ "documentation/platform/pki/ca/venafi",+ "documentation/platform/pki/ca/venafi-tpp"]}]},{- "group": "Infrastructure Integrations",+ "group": "Certificate Settings","pages": [- "integrations/platforms/certificate-agent",- "documentation/platform/pki/k8s-cert-manager",- "documentation/platform/pki/integration-guides/gloo-mesh",- "documentation/platform/pki/integration-guides/windows-server-acme",- "documentation/platform/pki/integration-guides/nginx-certbot",- "documentation/platform/pki/integration-guides/apache-certbot",- "documentation/platform/pki/integration-guides/tomcat-certbot",- "documentation/platform/pki/integration-guides/jboss-certbot",- "documentation/platform/pki/integration-guides/jamf-pro-scep"+ "documentation/platform/pki/settings/policies",+ "documentation/platform/pki/settings/profiles",+ "documentation/platform/pki/settings/certificate-cleanup"]},{- "group": "Certificate Syncs",+ "group": "Reference","pages": [- "documentation/platform/pki/certificate-syncs/overview",- "documentation/platform/pki/certificate-syncs/aws-certificate-manager",- "documentation/platform/pki/certificate-syncs/aws-elastic-load-balancer",- "documentation/platform/pki/certificate-syncs/aws-secrets-manager",- "documentation/platform/pki/certificate-syncs/azure-key-vault",- "documentation/platform/pki/certificate-syncs/chef",- "documentation/platform/pki/certificate-syncs/cloudflare-custom-certificate",- "documentation/platform/pki/certificate-syncs/netscaler"- ]- },- {- "group": "External CA Integrations",- "pages": [- "documentation/platform/pki/ca/acme-ca",- "documentation/platform/pki/ca/lets-encrypt",- "documentation/platform/pki/ca/digicert",- "documentation/platform/pki/ca/digicert-direct",- "documentation/platform/pki/ca/sectigo",- "documentation/platform/pki/ca/azure-adcs",- "documentation/platform/pki/ca/aws-pca",- "documentation/platform/pki/ca/aws-acm-public-ca",- "documentation/platform/pki/ca/venafi",- "documentation/platform/pki/ca/venafi-tpp"+ "documentation/platform/pki/reference/pqc-algorithms"]}]diff --git a/docs/documentation/platform/pki/alerting/overview.mdx b/docs/documentation/platform/pki/alerting/overview.mdxdeleted file mode 100644index 0a88e63859..0000000000--- a/docs/documentation/platform/pki/alerting/overview.mdx+++ /dev/null@@ -1,59 +0,0 @@-----title: "Alerting"-sidebarTitle: "Overview"-description: "Learn how to set up alerting for certificate lifecycle events with Infisical"------## Concept--Infisical allows you to configure alerts for key certificate lifecycle events, keeping your team informed when certificates are issued, renewed, revoked, or approaching expiration. Alerts are configured per project and can be delivered through multiple notification channels.--### Supported Alert Types--| Alert Type | Trigger | Description |-|---|---|---|-| **Certificate Expiration** | Scheduled | Notifies when certificates are approaching their expiration date, based on a configurable time window (e.g., 30 days before expiry). |-| **Certificate Issuance** | Real time | Notifies when a new certificate is issued through a certificate profile (via API, CSR signing, or EST/ACME enrollment). |-| **Certificate Renewal** | Real time | Notifies when an existing certificate is renewed, either manually or through auto renewal. |-| **Certificate Revocation** | Real time | Notifies when a certificate is revoked. |--## Guide to Creating an Alert--To create an alert, head to your Certificate Management Project > Alerting and press **Create Certificate Alert**.------### Field Descriptions--Here's some guidance for each field in the alert configuration sequence:--- **Alert Type**: The type of certificate event to alert on. Options are **Certificate Expiration**, **Certificate Issuance**, **Certificate Renewal**, and **Certificate Revocation**.-- **Alert Name**: A slug friendly name for the alert such as `tls-expiry-alert` or `prod-issuance-notify`.-- **Description**: An optional description for the alert.-- **Alert Before** *(Expiration alerts only)*: The time before certificate expiration to trigger the alert, such as 30 days denoted by `30d`. Supported units: `d` (days), `w` (weeks), `m` (months), `y` (years).-- **Daily Alerts** *(Expiration alerts only)*: Off by default. When enabled, notifications are sent every day until the certificate expires or is renewed. When disabled, a single notification is sent when the threshold is first reached.--<Warning>- For certificates that cannot be renewed through Infisical, daily alerts will continue to be sent each day until the original expiration date.-</Warning>--- **Filters**: A list of filters that determine which certificates the alert applies to. Each row includes a **Field**, **Operator**, and **Value** to match against. For example, you can filter for certificates with a common name containing `example.com` by setting the field to **Common Name**, the operator to **Contains**, and the value to `example.com`.--<Note>- For event driven alert types (Issuance, Renewal, Revocation), notifications are sent in real time when the event occurs. For Expiration alerts, Infisical checks for matching certificates on a daily schedule.-</Note>--### Notification Channels--Alerts can be delivered through one or more notification channels:--- **Email**: Send alert notifications to a list of email recipients. Enter one or more email addresses to notify when the alert triggers.-- **Webhook**: Send alert notifications to a webhook URL. The URL must use HTTPS. Optionally configure a signing secret to verify the authenticity of webhook payloads. See [Webhook Alerts](/documentation/platform/pki/alerting/webhook-alerts) for payload format and signature verification details.-- **Slack**: Send alert notifications to a Slack channel via an Incoming Webhook. See [Slack Alerts](/documentation/platform/pki/alerting/slack-alerts) for detailed setup steps.-- **PagerDuty**: Send alert notifications to PagerDuty via the Events API v2. See [PagerDuty Alerts](/documentation/platform/pki/alerting/pagerduty-alerts) for setup instructions.--You can configure up to 10 notification channels per alert.--diff --git a/docs/documentation/platform/pki/alerting/pagerduty-alerts.mdx b/docs/documentation/platform/pki/alerting/pagerduty-alerts.mdxdeleted file mode 100644index a77233e81f..0000000000--- a/docs/documentation/platform/pki/alerting/pagerduty-alerts.mdx+++ /dev/null@@ -1,77 +0,0 @@-----title: "PagerDuty Alerts"-sidebarTitle: "PagerDuty Alerts"-description: "Learn how to set up PagerDuty notifications for PKI certificate alerts"------Infisical can send PKI certificate alert notifications to PagerDuty using the [Events API v2](https://developer.pagerduty.com/docs/events-api-v2-overview). This guide walks through creating a PagerDuty service and configuring a PagerDuty alert.--## Guide to Creating a PagerDuty Alert--<Steps>- <Step title="Create a PagerDuty Service (or use an existing one)">- 1. Go to **PagerDuty** → **Services** → **Service Directory** → **New Service**- 2. Give the service a name (e.g., "Infisical PKI Alerts")- 3. Select **Events API v2** as the integration-- -- 4. Click **Create Service**-- If you want to use an existing service, go to the service's **Integrations** tab → **Add an Integration** → select **Events API v2**.- </Step>- <Step title="Copy the Integration Key">- After creating the service (or adding the integration), copy the 32-character **Integration Key** from the **Integrations** tab. You'll need this key to configure the alert in Infisical.-- - </Step>- <Step title="Create the Alert in Infisical">- Head to your Certificate Management Project > Alerting and press **Create Certificate Alert**.-- -- -- Here's some guidance for each field in the alert configuration sequence:-- - **Alert Type**: The type of certificate event to alert on. Options are **Certificate Expiration**, **Certificate Issuance**, **Certificate Renewal**, and **Certificate Revocation**.- - **Alert Name**: A slug friendly name for the alert such as `tls-expiry-alert`.- - **Description**: An optional description for the alert.- - **Alert Before** *(Expiration alerts only)*: The time before certificate expiration to trigger the alert such as 30 days denoted by `30d`.- - **Filters**: A list of filters that determine which certificates the alert applies to. Each row includes a **Field**, **Operator**, and **Value** to match against. For example, you can filter for certificates with a common name containing `example.com` by setting the field to **Common Name**, the operator to **Contains**, and the value to `example.com`.- </Step>- <Step title="Add a PagerDuty Notification Channel">- Add a **PagerDuty** notification channel from the "Add Channel" dropdown and paste the integration key you copied from PagerDuty.-- - </Step>-</Steps>--<Note>-Keep your integration key secure. Anyone with access to it can send events to your PagerDuty service.-</Note>--## Severity Mapping--### Expiration Alerts--For expiration alerts, Infisical automatically maps the time remaining until certificate expiry to a PagerDuty event severity:--| Time Until Expiry | PagerDuty Severity |-| --- | --- |-| ≤ 7 days | `critical` |-| ≤ 14 days | `error` |-| ≤ 30 days | `warning` |-| > 30 days | `info` |--### Other Alert Types--| Alert Type | PagerDuty Severity |-| --- | --- |-| Certificate Issuance | `info` |-| Certificate Renewal | `info` |-| Certificate Revocation | `warning` |--## Incident Grouping--Alerts with the same alert ID are grouped into the same PagerDuty incident via `dedup_key`. This means repeated triggers update the existing incident rather than creating duplicates.diff --git a/docs/documentation/platform/pki/alerting/slack-alerts.mdx b/docs/documentation/platform/pki/alerting/slack-alerts.mdxdeleted file mode 100644index 55acd3c8f4..0000000000--- a/docs/documentation/platform/pki/alerting/slack-alerts.mdx+++ /dev/null@@ -1,55 +0,0 @@-----title: "Slack Alerts"-sidebarTitle: "Slack Alerts"-description: "Learn how to set up Slack notifications for PKI certificate alerts"------Infisical can send PKI certificate alert notifications to a Slack channel using [Incoming Webhooks](https://api.slack.com/messaging/webhooks). This guide walks through creating a Slack app and configuring a Slack alert.--## Guide to Creating a Slack Alert--<Steps>- <Step title="Create a Slack App">- 1. Go to the [Slack API Apps page](https://api.slack.com/apps) and click **Create New App**- 2. Select **From scratch**- 3. Give your app a name (e.g., "Infisical PKI Alerts") and select the Slack workspace where you want to receive notifications- 4. Click **Create App**-- - </Step>- <Step title="Enable Incoming Webhooks">- 1. In your app settings, navigate to **Incoming Webhooks** in the left sidebar under "Features"- 2. Toggle **Activate Incoming Webhooks** to **On**- 3. Click **Add New Webhook** at the bottom of the page- 4. Select the channel where you want to receive alerts and click **Allow**- 5. Copy the generated **Webhook URL** (it will look like `https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX`)-- - </Step>- <Step title="Create the Alert in Infisical">- Head to your Certificate Management Project > Alerting and press **Create Certificate Alert**.-- -- -- Here's some guidance for each field in the alert configuration sequence:-- - **Alert Type**: The type of certificate event to alert on. Options are **Certificate Expiration**, **Certificate Issuance**, **Certificate Renewal**, and **Certificate Revocation**.- - **Alert Name**: A slug friendly name for the alert such as `tls-expiry-alert`.- - **Description**: An optional description for the alert.- - **Alert Before** *(Expiration alerts only)*: The time before certificate expiration to trigger the alert such as 30 days denoted by `30d`.- - **Filters**: A list of filters that determine which certificates the alert applies to. Each row includes a **Field**, **Operator**, and **Value** to match against. For example, you can filter for certificates with a common name containing `example.com` by setting the field to **Common Name**, the operator to **Contains**, and the value to `example.com`.- </Step>- <Step title="Add a Slack Notification Channel">- Add a **Slack** notification channel and paste the webhook URL you copied from Slack.-- - </Step>-</Steps>--<Note>-Keep your webhook URL secure. Anyone with access to it can post messages to your Slack channel.-</Note>--Slack messages include alert details and the two most relevant certificates, with a link to view all certificates in Infisical. Messages are color coded by event type: amber for expiration, green for issuance, blue for renewal, and red for revocation.diff --git a/docs/documentation/platform/pki/alerting/webhook-alerts.mdx b/docs/documentation/platform/pki/alerting/webhook-alerts.mdxdeleted file mode 100644index e06d873548..0000000000--- a/docs/documentation/platform/pki/alerting/webhook-alerts.mdx+++ /dev/null@@ -1,169 +0,0 @@-----title: "Webhook Alerts"-sidebarTitle: "Webhook Alerts"-description: "Learn how to set up webhook notifications for PKI certificate alerts"------Infisical can send PKI certificate alert notifications to a webhook URL. This guide walks through creating a webhook alert, the payload format, and how to verify webhook signatures.--## Guide to Creating a Webhook Alert--To create an alert, head to your Certificate Management Project > Alerting and press **Create Certificate Alert**.------Here's some guidance for each field in the alert configuration sequence:--- **Alert Type**: The type of certificate event to alert on. Options are **Certificate Expiration**, **Certificate Issuance**, **Certificate Renewal**, and **Certificate Revocation**.-- **Alert Name**: A slug friendly name for the alert such as `tls-expiry-alert`.-- **Description**: An optional description for the alert.-- **Alert Before** *(Expiration alerts only)*: The time before certificate expiration to trigger the alert such as 30 days denoted by `30d`.-- **Filters**: A list of filters that determine which certificates the alert applies to. Each row includes a **Field**, **Operator**, and **Value** to match against. For example, you can filter for certificates with a common name containing `example.com` by setting the field to **Common Name**, the operator to **Contains**, and the value to `example.com`.--Next, add a **Webhook** notification channel. The URL must use HTTPS. Optionally configure a signing secret to verify the authenticity of webhook payloads.----## Webhook Event Types--Each alert type maps to a corresponding CloudEvents event type:--| Alert Type | Event Type | Subject |-|---|---|---|-| Certificate Expiration | `com.infisical.pki.certificate.expiration` | `certificate-expiration-alert` |-| Certificate Issuance | `com.infisical.pki.certificate.issuance` | `certificate-issuance-alert` |-| Certificate Renewal | `com.infisical.pki.certificate.renewal` | `certificate-renewal-alert` |-| Certificate Revocation | `com.infisical.pki.certificate.revocation` | `certificate-revocation-alert` |--## Webhook Payload Format--Webhook notifications are sent as HTTP POST requests with a [CloudEvents](https://cloudevents.io/) compliant JSON payload.--### Expiration Alert Payload--```json-{- "specversion": "1.0",- "type": "com.infisical.pki.certificate.expiration",- "source": "/projects/<project-id>/alerts/<alert-id>",- "id": "<unique-event-id>",- "time": "2024-01-15T10:30:00.000Z",- "datacontenttype": "application/json",- "subject": "certificate-expiration-alert",- "data": {- "alert": {- "id": "<alert-id>",- "name": "tls-expiry-alert",- "alertBefore": "30d",- "projectId": "<project-id>"- },- "certificates": [- {- "id": "<certificate-id>",- "serialNumber": "1234567890",- "commonName": "example.com",- "san": ["example.com", "www.example.com"],- "profileName": "TLS Server",- "notBefore": "2024-01-01T00:00:00.000Z",- "notAfter": "2024-12-31T23:59:59.000Z",- "status": "active",- "daysUntilExpiry": 30- }- ],- "metadata": {- "totalCertificates": 1,- "viewUrl": "https://app.infisical.com/cert-manager/<project-id>/policies"- }- }-}-```--### Issuance, Renewal, and Revocation Alert Payload--These alerts are sent in real time the moment a certificate event occurs. Each notification contains a single certificate. The `type` and `subject` fields reflect the specific event, and `alertBefore` is omitted.--For revocation alerts, the certificate object also includes `revokedAt` and `revocationReason` fields.--```json-{- "specversion": "1.0",- "type": "com.infisical.pki.certificate.issuance",- "source": "/projects/<project-id>/alerts/<alert-id>",- "id": "<unique-event-id>",- "time": "2024-06-15T14:22:00.000Z",- "datacontenttype": "application/json",- "subject": "certificate-issuance-alert",- "data": {- "alert": {- "id": "<alert-id>",- "name": "prod-issuance-notify",- "projectId": "<project-id>"- },- "certificates": [- {- "id": "<certificate-id>",- "serialNumber": "9876543210",- "commonName": "api.example.com",- "san": ["api.example.com"],- "profileName": "API Server",- "notBefore": "2024-06-15T00:00:00.000Z",- "notAfter": "2025-06-15T23:59:59.000Z",- "status": "active",- "daysUntilExpiry": 365- }- ],- "metadata": {- "totalCertificates": 1,- "viewUrl": "https://app.infisical.com/cert-manager/<project-id>/policies"- }- }-}-```--## Webhook Signature Verification--If you configure a signing secret for your webhook channel, Infisical will include an `x-infisical-signature` header with each request. This allows you to verify that the webhook payload originated from Infisical.--The header format is:--```-x-infisical-signature: t=<timestamp>,v1=<signature>-```--Where:-- `<timestamp>` is the Unix timestamp (in milliseconds) when the signature was generated-- `v1` indicates the signature version-- `<signature>` is the HMAC SHA256 signature of the payload--To verify the signature:--1. Extract the timestamp and signature from the header-2. Construct the signature payload by concatenating the timestamp, a period (`.`), and the raw request body: `{timestamp}.{body}`-3. Compute an HMAC SHA256 hash using your signing secret-4. Compare the computed signature with the signature from the header--Example verification in Node.js:--```javascript-const crypto = require('crypto');--function verifyWebhookSignature(header, body, secret) {- // Parse header format: t=<timestamp>,v1=<signature>- const parts = header.split(',');- const timestamp = parts[0].replace('t=', '');- const signature = parts[1].replace('v1=', '');-- const signaturePayload = `${timestamp}.${body}`;- const expectedSignature = crypto- .createHmac('sha256', secret)- .update(signaturePayload)- .digest('hex');-- return crypto.timingSafeEqual(- Buffer.from(signature),- Buffer.from(expectedSignature)- );-}-```diff --git a/docs/documentation/platform/pki/applications/alerting/overview.mdx b/docs/documentation/platform/pki/applications/alerting/overview.mdxnew file mode 100644index 0000000000..1062c60899--- /dev/null+++ b/docs/documentation/platform/pki/applications/alerting/overview.mdx@@ -0,0 +1,129 @@+---+title: "Alerting"+sidebarTitle: "Overview"+description: "Get notified when certificates expire, are issued, renewed, or revoked."+---++Certificate alerting keeps your team informed about critical lifecycle events. Configure alerts on your Application to receive notifications via Slack, PagerDuty, email, or webhooks.++## Alert Types++<CardGroup cols={2}>+ <Card title="Expiration" icon="clock">+ **Scheduled** — Notifies when certificates approach expiration (e.g., 30 days before expiry).+ </Card>+ <Card title="Issuance" icon="certificate">+ **Real-time** — Notifies when a new certificate is issued.+ </Card>+ <Card title="Renewal" icon="arrows-spin">+ **Real-time** — Notifies when a certificate is renewed.+ </Card>+ <Card title="Revocation" icon="ban">+ **Real-time** — Notifies when a certificate is revoked.+ </Card>+</CardGroup>++## Create an Alert++In your Application, navigate to **Alerting** and click **Create Certificate Alert**.++++++### Configuration++| Field | Description |+|-------|-------------|+| **Alert Type** | Expiration, Issuance, Renewal, or Revocation |+| **Alert Name** | A slug-friendly name like `tls-expiry-alert` |+| **Description** | Optional context about this alert |++### Expiration Alert Settings++For expiration alerts, configure when notifications trigger:++| Field | Description |+|-------|-------------|+| **Alert Before** | Time before expiration (e.g., `30d`, `2w`, `3m`) |+| **Daily Alerts** | If enabled, sends daily reminders until certificate expires or is renewed |++<Warning>+ For certificates that cannot be renewed through Infisical, daily alerts continue until the original expiration date.+</Warning>++### Filters++Scope alerts to specific certificates using filters:++| Filter Field | Example | Effect |+|--------------|---------|--------|+| Common Name | Contains `api.` | Only alert on API certificates |+| Profile | Equals `production` | Only alert on production certificates |+| Issuer | Contains `DigiCert` | Only alert on DigiCert-issued certificates |++<Note>+ Event-driven alerts (Issuance, Renewal, Revocation) fire in real-time. Expiration alerts are checked on a daily schedule.+</Note>++## Notification Channels++Deliver alerts through one or more channels (up to 10 per alert):++<CardGroup cols={2}>+ <Card title="Email" icon="envelope" href="#email">+ Send to a list of email addresses.+ </Card>+ <Card title="Slack" icon="slack" href="/documentation/platform/pki/applications/alerting/slack-alerts">+ Post to a Slack channel via Incoming Webhook.+ </Card>+ <Card title="PagerDuty" icon="pager" href="/documentation/platform/pki/applications/alerting/pagerduty-alerts">+ Create incidents via Events API v2.+ </Card>+ <Card title="Webhook" icon="webhook" href="/documentation/platform/pki/applications/alerting/webhook-alerts">+ POST to any HTTPS endpoint with optional signature verification.+ </Card>+</CardGroup>++++## Common Use Cases++<AccordionGroup>+ <Accordion title="Alert on expiring production certificates">+ - **Alert Type**: Expiration+ - **Alert Before**: `30d`+ - **Filter**: Profile equals `production`+ - **Channel**: Slack + PagerDuty++ Gives your team a month's notice before any production certificate expires, with escalation to on-call.+ </Accordion>+ <Accordion title="Audit all certificate issuance">+ - **Alert Type**: Issuance+ - **Filter**: None (all certificates)+ - **Channel**: Webhook → your SIEM++ Sends every certificate issuance event to your security tooling for audit logging.+ </Accordion>+ <Accordion title="Notify on unexpected revocations">+ - **Alert Type**: Revocation+ - **Filter**: None (all certificates)+ - **Channel**: Slack++ Alerts the team immediately when any certificate is revoked so they can investigate.+ </Accordion>+</AccordionGroup>++## Next Steps++<CardGroup cols={2}>+ <Card title="Slack Alerts" icon="slack" href="/documentation/platform/pki/applications/alerting/slack-alerts">+ Set up Slack Incoming Webhook integration.+ </Card>+ <Card title="PagerDuty Alerts" icon="pager" href="/documentation/platform/pki/applications/alerting/pagerduty-alerts">+ Configure PagerDuty Events API integration.+ </Card>+ <Card title="Webhook Alerts" icon="webhook" href="/documentation/platform/pki/applications/alerting/webhook-alerts">+ Send alerts to custom endpoints with signature verification.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/alerting/pagerduty-alerts.mdx b/docs/documentation/platform/pki/applications/alerting/pagerduty-alerts.mdxnew file mode 100644index 0000000000..ce75266e75--- /dev/null+++ b/docs/documentation/platform/pki/applications/alerting/pagerduty-alerts.mdx@@ -0,0 +1,96 @@+---+title: "PagerDuty Alerts"+sidebarTitle: "PagerDuty"+description: "Create PagerDuty incidents for certificate alerts."+---++Create PagerDuty incidents when certificate events occur using the [Events API v2](https://developer.pagerduty.com/docs/events-api-v2-overview). Get paged when certificates are about to expire or are revoked.++<Info>+ Alerts are configured per Application and apply to all certificates within that Application.+</Info>++## Create a PagerDuty Alert++<Steps>+ <Step title="Create a PagerDuty Service">+ 1. Go to **PagerDuty → Services → Service Directory → New Service**+ 2. Name the service (e.g., "Infisical PKI Alerts")+ 3. Select **Events API v2** as the integration+ 4. Click **Create Service**++ <Note>+ To use an existing service, go to **Integrations → Add an Integration → Events API v2**.+ </Note>+ </Step>+ <Step title="Copy the Integration Key">+ After creating the service, copy the 32-character **Integration Key** from the **Integrations** tab.++ <Note>+ Keep your integration key secure. Anyone with access can send events to your PagerDuty service.+ </Note>+ </Step>+ <Step title="Navigate to your Application">+ Go to **Certificate Manager → Applications** and select your Application.+ </Step>+ <Step title="Create an alert">+ In the **Alerting** section, click **Create Alert**.++ | Setting | Description |+ |---------|-------------|+ | **Alert Type** | Certificate Expiration, Issuance, Renewal, or Revocation |+ | **Alert Name** | A slug-friendly name like `tls-expiry-alert` |+ | **Description** | Optional context about this alert |+ | **Alert Before** | *(Expiration only)* Time before expiry to trigger, e.g., `30d` |+ </Step>+ <Step title="Add a PagerDuty channel">+ Add a **PagerDuty** notification channel and paste the integration key.++ {/* SCREENSHOT: Add PagerDuty channel to alert */}+ <Frame caption="Adding a PagerDuty notification channel">+ + </Frame>+ </Step>+</Steps>++## Severity Mapping++Infisical automatically maps alert types to PagerDuty severity levels.++### Expiration Alerts++| Time Until Expiry | PagerDuty Severity |+|-------------------|-------------------|+| ≤ 7 days | `critical` |+| ≤ 14 days | `error` |+| ≤ 30 days | `warning` |+| > 30 days | `info` |++### Other Alert Types++| Alert Type | PagerDuty Severity |+|------------|-------------------|+| Certificate Issuance | `info` |+| Certificate Renewal | `info` |+| Certificate Revocation | `warning` |++## Incident Grouping++Alerts with the same alert ID are grouped into the same PagerDuty incident via `dedup_key`. Repeated triggers update the existing incident rather than creating duplicates.++## What's Next?++<CardGroup cols={2}>+ <Card title="Webhook Alerts" icon="webhook" href="/documentation/platform/pki/applications/alerting/webhook-alerts">+ Send alerts to custom HTTP endpoints.+ </Card>+ <Card title="Slack Alerts" icon="slack" href="/documentation/platform/pki/applications/alerting/slack-alerts">+ Send alerts to a Slack channel.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View and manage certificates.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/alerting/slack-alerts.mdx b/docs/documentation/platform/pki/applications/alerting/slack-alerts.mdxnew file mode 100644index 0000000000..9dbb4526f3--- /dev/null+++ b/docs/documentation/platform/pki/applications/alerting/slack-alerts.mdx@@ -0,0 +1,84 @@+---+title: "Slack Alerts"+sidebarTitle: "Slack"+description: "Send certificate alert notifications to a Slack channel."+---++Send certificate alert notifications to a Slack channel using [Incoming Webhooks](https://api.slack.com/messaging/webhooks). Get notified when certificates expire, are issued, renewed, or revoked.++<Info>+ Alerts are configured per Application and apply to all certificates within that Application.+</Info>++## Create a Slack Alert++<Steps>+ <Step title="Create a Slack App">+ 1. Go to the [Slack API Apps page](https://api.slack.com/apps) and click **Create New App**+ 2. Select **From scratch**+ 3. Name your app (e.g., "Infisical PKI Alerts") and select your workspace+ 4. Click **Create App**+ </Step>+ <Step title="Enable Incoming Webhooks">+ 1. In your app settings, go to **Incoming Webhooks** under "Features"+ 2. Toggle **Activate Incoming Webhooks** to **On**+ 3. Click **Add New Webhook to Workspace**+ 4. Select the channel for alerts and click **Allow**+ 5. Copy the **Webhook URL**++ <Note>+ Keep your webhook URL secure. Anyone with access can post to your channel.+ </Note>+ </Step>+ <Step title="Navigate to your Application">+ Go to **Certificate Manager → Applications** and select your Application.+ </Step>+ <Step title="Create an alert">+ In the **Alerting** section, click **Create Alert**.++ | Setting | Description |+ |---------|-------------|+ | **Alert Type** | Certificate Expiration, Issuance, Renewal, or Revocation |+ | **Alert Name** | A slug-friendly name like `tls-expiry-alert` |+ | **Description** | Optional context about this alert |+ | **Alert Before** | *(Expiration only)* Time before expiry to trigger, e.g., `30d` |+ </Step>+ <Step title="Add a Slack channel">+ Add a **Slack** notification channel and paste the webhook URL from Slack.++ {/* SCREENSHOT: Add Slack channel to alert */}+ <Frame caption="Adding a Slack notification channel">+ + </Frame>+ </Step>+</Steps>++## Message Format++Slack messages include alert details and the two most relevant certificates, with a link to view all certificates in Infisical.++Messages are color-coded by event type:++| Event Type | Color |+|------------|-------|+| Certificate Expiration | Amber |+| Certificate Issuance | Green |+| Certificate Renewal | Blue |+| Certificate Revocation | Red |++## What's Next?++<CardGroup cols={2}>+ <Card title="Webhook Alerts" icon="webhook" href="/documentation/platform/pki/applications/alerting/webhook-alerts">+ Send alerts to custom HTTP endpoints.+ </Card>+ <Card title="PagerDuty Alerts" icon="pager" href="/documentation/platform/pki/applications/alerting/pagerduty-alerts">+ Create incidents in PagerDuty.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View and manage certificates.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/alerting/webhook-alerts.mdx b/docs/documentation/platform/pki/applications/alerting/webhook-alerts.mdxnew file mode 100644index 0000000000..e2e4bf5eef--- /dev/null+++ b/docs/documentation/platform/pki/applications/alerting/webhook-alerts.mdx@@ -0,0 +1,202 @@+---+title: "Webhook Alerts"+sidebarTitle: "Webhook"+description: "Send certificate alert notifications to a webhook URL."+---++Send certificate alert notifications to any HTTP endpoint. Webhook alerts let you integrate Infisical with your own systems, automation tools, or services that aren't directly supported.++<Info>+ Alerts are configured per Application and apply to all certificates within that Application.+</Info>++## Create a Webhook Alert++<Steps>+ <Step title="Navigate to your Application">+ Go to **Certificate Manager → Applications** and select your Application.+ </Step>+ <Step title="Create an alert">+ In the **Alerting** section, click **Create Alert**.++ {/* SCREENSHOT: Create alert modal in Application */}+ <Frame caption="Creating an alert in an Application">+ + </Frame>+ </Step>+ <Step title="Configure alert settings">+ | Setting | Description |+ |---------|-------------|+ | **Alert Type** | Certificate Expiration, Issuance, Renewal, or Revocation |+ | **Alert Name** | A slug-friendly name like `tls-expiry-alert` |+ | **Description** | Optional context about this alert |+ | **Alert Before** | *(Expiration only)* Time before expiry to trigger, e.g., `30d` |+ </Step>+ <Step title="Add a webhook channel">+ Add a **Webhook** notification channel:++ | Setting | Description |+ |---------|-------------|+ | **URL** | The HTTPS endpoint to receive notifications |+ | **Signing Secret** | *(Optional)* Secret to verify webhook authenticity |++ <Note>+ The webhook URL must use HTTPS.+ </Note>+ </Step>+</Steps>++## Webhook Event Types++Each alert type maps to a corresponding CloudEvents event type:++| Alert Type | Event Type | Subject |+|------------|------------|---------|+| Certificate Expiration | `com.infisical.pki.certificate.expiration` | `certificate-expiration-alert` |+| Certificate Issuance | `com.infisical.pki.certificate.issuance` | `certificate-issuance-alert` |+| Certificate Renewal | `com.infisical.pki.certificate.renewal` | `certificate-renewal-alert` |+| Certificate Revocation | `com.infisical.pki.certificate.revocation` | `certificate-revocation-alert` |++## Webhook Payload Format++Webhook notifications are sent as HTTP POST requests with a [CloudEvents](https://cloudevents.io/) compliant JSON payload.++<Tabs>+ <Tab title="Expiration Alert">+ ```json+ {+ "specversion": "1.0",+ "type": "com.infisical.pki.certificate.expiration",+ "source": "/applications/<application-id>/alerts/<alert-id>",+ "id": "<unique-event-id>",+ "time": "2024-01-15T10:30:00.000Z",+ "datacontenttype": "application/json",+ "subject": "certificate-expiration-alert",+ "data": {+ "alert": {+ "id": "<alert-id>",+ "name": "tls-expiry-alert",+ "alertBefore": "30d",+ "applicationId": "<application-id>"+ },+ "certificates": [+ {+ "id": "<certificate-id>",+ "serialNumber": "1234567890",+ "commonName": "api.example.com",+ "san": ["api.example.com", "www.api.example.com"],+ "profileName": "TLS Server",+ "notBefore": "2024-01-01T00:00:00.000Z",+ "notAfter": "2024-12-31T23:59:59.000Z",+ "status": "active",+ "daysUntilExpiry": 30+ }+ ],+ "metadata": {+ "totalCertificates": 1,+ "viewUrl": "https://app.infisical.com/cert-manager/applications/<application-id>/certificates"+ }+ }+ }+ ```+ </Tab>+ <Tab title="Issuance/Renewal/Revocation">+ These alerts are sent in real time when the certificate event occurs. Each notification contains a single certificate. The `alertBefore` field is omitted.++ For revocation alerts, the certificate object also includes `revokedAt` and `revocationReason`.++ ```json+ {+ "specversion": "1.0",+ "type": "com.infisical.pki.certificate.issuance",+ "source": "/applications/<application-id>/alerts/<alert-id>",+ "id": "<unique-event-id>",+ "time": "2024-06-15T14:22:00.000Z",+ "datacontenttype": "application/json",+ "subject": "certificate-issuance-alert",+ "data": {+ "alert": {+ "id": "<alert-id>",+ "name": "prod-issuance-notify",+ "applicationId": "<application-id>"+ },+ "certificates": [+ {+ "id": "<certificate-id>",+ "serialNumber": "9876543210",+ "commonName": "api.example.com",+ "san": ["api.example.com"],+ "profileName": "API Server",+ "notBefore": "2024-06-15T00:00:00.000Z",+ "notAfter": "2025-06-15T23:59:59.000Z",+ "status": "active",+ "daysUntilExpiry": 365+ }+ ],+ "metadata": {+ "totalCertificates": 1,+ "viewUrl": "https://app.infisical.com/cert-manager/applications/<application-id>/certificates"+ }+ }+ }+ ```+ </Tab>+</Tabs>++## Webhook Signature Verification++If you configure a signing secret, Infisical includes an `x-infisical-signature` header with each request:++```+x-infisical-signature: t=<timestamp>,v1=<signature>+```++| Component | Description |+|-----------|-------------|+| `t=<timestamp>` | Unix timestamp (milliseconds) when signed |+| `v1=<signature>` | HMAC SHA256 signature |++### Verify the Signature++1. Extract timestamp and signature from the header+2. Concatenate: `{timestamp}.{raw-body}`+3. Compute HMAC SHA256 with your signing secret+4. Compare with the header signature++```javascript+const crypto = require('crypto');++function verifyWebhookSignature(header, body, secret) {+ const parts = header.split(',');+ const timestamp = parts[0].replace('t=', '');+ const signature = parts[1].replace('v1=', '');++ const signaturePayload = `${timestamp}.${body}`;+ const expectedSignature = crypto+ .createHmac('sha256', secret)+ .update(signaturePayload)+ .digest('hex');++ return crypto.timingSafeEqual(+ Buffer.from(signature),+ Buffer.from(expectedSignature)+ );+}+```++## What's Next?++<CardGroup cols={2}>+ <Card title="Slack Alerts" icon="slack" href="/documentation/platform/pki/applications/alerting/slack-alerts">+ Send alerts to a Slack channel.+ </Card>+ <Card title="PagerDuty Alerts" icon="pager" href="/documentation/platform/pki/applications/alerting/pagerduty-alerts">+ Create incidents in PagerDuty.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View and manage certificates.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/approvals.mdx b/docs/documentation/platform/pki/applications/approvals.mdxnew file mode 100644index 0000000000..d602c1dd6f--- /dev/null+++ b/docs/documentation/platform/pki/applications/approvals.mdx@@ -0,0 +1,157 @@+---+title: "Approval Policies"+sidebarTitle: "Approvals"+description: "Add human review workflows before certificates are issued."+---++Approval workflows add a human review step before certificates are issued. Use them to enforce separation of duties, ensure oversight of sensitive certificates, or meet compliance requirements.++## When to Use Approvals++<CardGroup cols={2}>+ <Card title="Separation of duties" icon="users">+ Different people must request and approve certificate issuance.+ </Card>+ <Card title="Sensitive certificates" icon="shield-check">+ Production or customer-facing certificates need additional review.+ </Card>+ <Card title="Compliance requirements" icon="clipboard-check">+ Regulatory frameworks require documented approval before issuance.+ </Card>+ <Card title="Prevent unauthorized issuance" icon="lock">+ Ensure certificates are only issued after proper validation.+ </Card>+</CardGroup>++<Note>+ For fully automated workloads (e.g., using [Infisical Agent](/integrations/platforms/certificate-agent)), enable the **machine identity bypass** option so automated systems can issue certificates without waiting for approval.+</Note>++## How Approval Policies Work++An approval policy defines the workflow that must be completed before certificates are issued from specific profiles. When a certificate request is made:++1. Request enters **pending** state+2. Approvers are notified (if configured)+3. Each approval step must be completed in sequence+4. Once all steps are approved, the certificate is issued++## Create an Approval Policy++In your Application, navigate to **Approvals → Policies** and click **Create Policy**.++++<Steps>+ <Step title="Configure basic settings">+ ++ | Field | Description |+ |-------|-------------|+ | **Policy Name** | A descriptive name like `production-cert-approval` |+ | **Max. Request TTL** | How long a request can remain pending before expiring |+ | **Certificate Profiles** | Which profiles require approval |+ | **Bypass for machine identities** | Allow automated systems to skip approval |+ </Step>+ <Step title="Configure approval steps">+ ++ Each step defines who can approve and how many approvals are required:++ | Field | Description |+ |-------|-------------|+ | **Step Name** | Optional name like `Security Team Review` |+ | **Approvers** | Users or groups eligible to approve |+ | **Required Approvals** | How many must approve (e.g., 2 of 5) |+ | **Notify Approvers** | Send notification when approval is needed |++ **Example multi-step workflow:**+ 1. **Team Lead Review** — Requires 1 approval from team leads+ 2. **Security Review** — Requires 2 approvals from security team+ </Step>+ <Step title="Review and create">+ Review your configuration and click **Create**.++ + </Step>+</Steps>++## Managing Approval Requests++### View Requests++Navigate to **Approvals → Requests** to see all approval requests:++++| Status | Meaning |+|--------|---------|+| **Open** | Pending approval |+| **Approved** | All steps completed, certificate issued |+| **Rejected** | An approver rejected the request |+| **Cancelled** | Requester cancelled the request |+| **Expired** | Request exceeded max TTL |++### Approve a Request++<Steps>+ <Step title="Open the request">+ Click on a pending request to view details.++ + </Step>+ <Step title="Review certificate details">+ Verify the request information:+ - Requester name and email+ - Certificate profile+ - Common name and SANs+ - Key usages and validity period++ + </Step>+ <Step title="Approve">+ If you're an eligible approver for the current step, click **Approve**.++ + </Step>+</Steps>++Once all required approvals are obtained, the certificate is automatically issued.++### Reject a Request++<Steps>+ <Step title="Open the request">+ Click on a pending request.+ </Step>+ <Step title="Reject with reason">+ Click **Reject** and optionally add a comment explaining why.++ + </Step>+</Steps>++When a request is rejected, the workflow ends and no certificate is issued.++## FAQ++<AccordionGroup>+ <Accordion title="I approved a request but the certificate wasn't issued">+ If the policy has multiple steps, your approval may have completed only one step. The certificate is issued only after **all** approval steps are completed. Check the request details to see which step is currently pending.+ </Accordion>+ <Accordion title="I don't see the Approve button">+ The Approve button only appears if:+ - You're listed as an approver for the **current** step+ - The request is still pending (not expired or rejected)+ - Previous steps have been completed+ </Accordion>+ <Accordion title="Can I use approvals with ACME or EST?">+ Yes, approval policies work with any enrollment method. However, automated clients like Certbot typically can't wait for human approval. Consider using the machine identity bypass for automated workloads.+ </Accordion>+ <Accordion title="What happens when a request expires?">+ The request moves to **Expired** status and no certificate is issued. The requester must submit a new request.+ </Accordion>+ <Accordion title="Can requesters approve their own requests?">+ By default, yes — if they're listed as an eligible approver. For separation of duties, configure approver groups that exclude potential requesters.+ </Accordion>+</AccordionGroup>diff --git a/docs/documentation/platform/pki/certificate-syncs/aws-certificate-manager.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager.mdxsimilarity index 80%rename from docs/documentation/platform/pki/certificate-syncs/aws-certificate-manager.mdxrename to docs/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager.mdxindex 4e4550c464..ccc5eafd69 100644--- a/docs/documentation/platform/pki/certificate-syncs/aws-certificate-manager.mdx+++ b/docs/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager.mdx@@ -1,28 +1,33 @@---title: "AWS Certificate Manager"-description: "Learn how to configure an AWS Certificate Manager Certificate Sync for Infisical PKI."+sidebarTitle: "AWS ACM"+description: "Sync certificates to AWS Certificate Manager for use with AWS services."----**Prerequisites:**+Push certificates from your Application to AWS Certificate Manager (ACM). Certificates synced to ACM can be used with Elastic Load Balancers, CloudFront, API Gateway, and other AWS services.-- Create an [AWS Connection](/integrations/app-connections/aws)+<Info>+ Certificate Syncs are configured per Application. First select which certificates to sync, then configure the ACM destination.+</Info>-<Note>- The AWS Certificate Manager Certificate Sync requires the following ACM permissions to be set on the IAM user/role- for Infisical to sync certificates to AWS Certificate Manager: `acm:ListCertificates`, `acm:DescribeCertificate`, `acm:ImportCertificate`, `acm:DeleteCertificate`, and `acm:ListTagsForCertificate`.--These permissions allow Infisical to list, import, tag, and manage certificates in your AWS Certificate Manager service.+## Prerequisites-</Note>+- An [AWS Connection](/integrations/app-connections/aws) with the following ACM permissions:+ - `acm:ListCertificates`+ - `acm:DescribeCertificate`+ - `acm:ImportCertificate`+ - `acm:DeleteCertificate`+ - `acm:ListTagsForCertificate`<Note>- Certificates synced to AWS Certificate Manager will be stored as imported- certificates, preserving both the certificate and private key components.+ Certificates synced to ACM are stored as imported certificates, preserving both the certificate and private key.</Note>+## Create an ACM Sync+<Tabs><Tab title="Infisical UI">- 1. Navigate to **Project** > **Integrations** > **Certificate Syncs** and press **Add Sync**.+ 1. In your Application, go to **Certificate Syncs** and click **Create Sync**.2. Select the **AWS Certificate Manager** option.@@ -160,3 +165,20 @@ To manually sync certificates, use the [Sync Certificates](/api-reference/endpoifrom AWS Certificate Manager. Only certificates imported into ACM (notAWS-issued certificates) can be managed by the sync.</Accordion>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Elastic Load Balancer" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-elastic-load-balancer">+ Deploy certificates directly to ALB/NLB listeners.+ </Card>+ <Card title="Auto-Renewal" icon="arrows-spin" href="/documentation/platform/pki/applications/certificates#server-driven-renewal">+ Enable automatic certificate renewal and syncing.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Other Sync Destinations" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ View all supported sync destinations.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/certificate-syncs/aws-elastic-load-balancer.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/aws-elastic-load-balancer.mdxsimilarity index 83%rename from docs/documentation/platform/pki/certificate-syncs/aws-elastic-load-balancer.mdxrename to docs/documentation/platform/pki/applications/certificate-syncs/aws-elastic-load-balancer.mdxindex 8019ccac91..a835099445 100644--- a/docs/documentation/platform/pki/certificate-syncs/aws-elastic-load-balancer.mdx+++ b/docs/documentation/platform/pki/applications/certificate-syncs/aws-elastic-load-balancer.mdx@@ -1,27 +1,26 @@---title: "AWS Elastic Load Balancer"-description: "Learn how to configure an AWS Elastic Load Balancer Certificate Sync for Infisical PKI."+sidebarTitle: "AWS ELB"+description: "Deploy certificates to AWS Application Load Balancers and Network Load Balancers."----The AWS Elastic Load Balancer Certificate Sync allows you to automatically deploy and manage TLS/SSL certificates on your AWS Application Load Balancers (ALBs) and Network Load Balancers (NLBs). Certificates are first imported into AWS Certificate Manager (ACM) and then attached to your configured listeners, enabling secure HTTPS/TLS traffic to your load balancers with automatic certificate lifecycle management.+Deploy certificates directly to your AWS Application Load Balancers (ALBs) and Network Load Balancers (NLBs). Certificates are imported into AWS Certificate Manager (ACM) and attached to your configured listeners automatically.-**Prerequisites:**+<Info>+ Certificate Syncs are configured per Application. First select which certificates to sync, then configure the ELB destination.+</Info>-- Create an [AWS Connection](/integrations/app-connections/aws)+## Prerequisites-<Note>- The AWS Elastic Load Balancer Certificate Sync requires the following IAM permissions for Infisical to sync certificates to your load balancers:-- **ACM Permissions:** `acm:ListCertificates`, `acm:DescribeCertificate`, `acm:ImportCertificate`, `acm:DeleteCertificate`, `acm:ListTagsForCertificate`+- An [AWS Connection](/integrations/app-connections/aws) with the following permissions:+ - **ACM:** `acm:ListCertificates`, `acm:DescribeCertificate`, `acm:ImportCertificate`, `acm:DeleteCertificate`, `acm:ListTagsForCertificate`+ - **ELB:** `elasticloadbalancing:DescribeLoadBalancers`, `elasticloadbalancing:DescribeListeners`, `elasticloadbalancing:DescribeListenerCertificates`, `elasticloadbalancing:AddListenerCertificates`, `elasticloadbalancing:RemoveListenerCertificates`, `elasticloadbalancing:ModifyListener`- **ELB Permissions:** `elasticloadbalancing:DescribeLoadBalancers`, `elasticloadbalancing:DescribeListeners`, `elasticloadbalancing:DescribeListenerCertificates`, `elasticloadbalancing:AddListenerCertificates`, `elasticloadbalancing:RemoveListenerCertificates`, `elasticloadbalancing:ModifyListener`-- These permissions allow Infisical to import certificates to ACM and attach them to your load balancer listeners.-</Note>+## Create an ELB Sync<Tabs><Tab title="Infisical UI">- 1. Navigate to **Project** > **Integrations** > **Certificate Syncs** and press **Add Sync**.+ 1. In your Application, go to **Certificate Syncs** and click **Create Sync**.2. Select the **AWS Elastic Load Balancer** option.@@ -201,3 +200,20 @@ To manually sync certificates, use the [Sync Certificates](/api-reference/endpoifrom AWS Certificate Manager. Only certificates managed by Infisical can besynced to your load balancers.</Note>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for other AWS services.+ </Card>+ <Card title="Auto-Renewal" icon="arrows-spin" href="/documentation/platform/pki/applications/certificates#server-driven-renewal">+ Enable automatic certificate renewal and syncing.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Other Sync Destinations" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ View all supported sync destinations.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/certificate-syncs/aws-secrets-manager.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/aws-secrets-manager.mdxsimilarity index 86%rename from docs/documentation/platform/pki/certificate-syncs/aws-secrets-manager.mdxrename to docs/documentation/platform/pki/applications/certificate-syncs/aws-secrets-manager.mdxindex 4ed7e0a304..dbab52c09c 100644--- a/docs/documentation/platform/pki/certificate-syncs/aws-secrets-manager.mdx+++ b/docs/documentation/platform/pki/applications/certificate-syncs/aws-secrets-manager.mdx@@ -1,30 +1,33 @@---title: "AWS Secrets Manager"-description: "Learn how to configure an AWS Secrets Manager Certificate Sync for Infisical PKI."+sidebarTitle: "AWS Secrets Manager"+description: "Store certificates as secrets in AWS Secrets Manager."----**Prerequisites:**+Store certificates in AWS Secrets Manager as JSON secrets for application retrieval. Certificates are stored with customizable field names for the certificate, private key, and chain.-- Create an [AWS Connection](/integrations/app-connections/aws)-- Ensure your network security policies allow incoming requests from Infisical to this certificate sync provider, if network restrictions apply.+<Info>+ Certificate Syncs are configured per Application. First select which certificates to sync, then configure the Secrets Manager destination.+</Info>-<Note>- The AWS Secrets Manager Certificate Sync requires the following permissions to be set on the AWS IAM user- for Infisical to sync certificates to AWS Secrets Manager: `secretsmanager:CreateSecret`, `secretsmanager:UpdateSecret`,- `secretsmanager:GetSecretValue`, `secretsmanager:DeleteSecret`, `secretsmanager:ListSecrets`.--Any role with these permissions would work such as a custom policy with **SecretsManager** permissions.+## Prerequisites-</Note>+- An [AWS Connection](/integrations/app-connections/aws) with the following permissions:+ - `secretsmanager:CreateSecret`+ - `secretsmanager:UpdateSecret`+ - `secretsmanager:GetSecretValue`+ - `secretsmanager:DeleteSecret`+ - `secretsmanager:ListSecrets`<Note>- Certificates synced to AWS Secrets Manager will be stored as JSON secrets,- preserving both the certificate and private key components as separate fields within the secret value.+ Certificates are stored as JSON secrets with configurable field names for certificate, private key, and chain.</Note>+## Create a Secrets Manager Sync+<Tabs><Tab title="Infisical UI">- 1. Navigate to **Project** > **Integrations** > **Certificate Syncs** and press **Add Sync**.+ 1. In your Application, go to **Certificate Syncs** and click **Create Sync**.2. Select the **AWS Secrets Manager** option.@@ -250,4 +253,21 @@ AWS Secrets Manager has specific naming requirements for secrets:AWS Secrets Manager does not support importing certificates back into Infisicaldue to the nature of AWS Secrets Manager where certificates are stored as JSON secretsrather than managed certificate objects.-</Accordion>\ No newline at end of file+</Accordion>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for AWS services.+ </Card>+ <Card title="Auto-Renewal" icon="arrows-spin" href="/documentation/platform/pki/applications/certificates#server-driven-renewal">+ Enable automatic certificate renewal and syncing.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Other Sync Destinations" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ View all supported sync destinations.+ </Card>+</CardGroup>\ No newline at end of filediff --git a/docs/documentation/platform/pki/certificate-syncs/azure-key-vault.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/azure-key-vault.mdxsimilarity index 81%rename from docs/documentation/platform/pki/certificate-syncs/azure-key-vault.mdxrename to docs/documentation/platform/pki/applications/certificate-syncs/azure-key-vault.mdxindex f1b589b043..099d7bd225 100644--- a/docs/documentation/platform/pki/certificate-syncs/azure-key-vault.mdx+++ b/docs/documentation/platform/pki/applications/certificate-syncs/azure-key-vault.mdx@@ -1,29 +1,32 @@---title: "Azure Key Vault"-description: "Learn how to configure an Azure Key Vault Certificate Sync for Infisical PKI."+sidebarTitle: "Azure Key Vault"+description: "Sync certificates to Azure Key Vault for use with Azure services."----**Prerequisites:**+Store certificates in Azure Key Vault as certificate objects. Certificates synced to Key Vault can be used with Azure App Service, Application Gateway, and other Azure services.-- Create an [Azure Key Vault Connection](/integrations/app-connections/azure-key-vault)-- Ensure your network security policies allow incoming requests from Infisical to this certificate sync provider, if network restrictions apply.+<Info>+ Certificate Syncs are configured per Application. First select which certificates to sync, then configure the Key Vault destination.+</Info>-<Note>- The Azure Key Vault Certificate Sync requires the following certificate permissions to be set on the user / service principal- for Infisical to sync certificates to Azure Key Vault: `certificates/list`, `certificates/get`, `certificates/import`, `certificates/delete`.--Any role with these permissions would work such as the **Key Vault Certificates Officer** role.+## Prerequisites-</Note>+- An [Azure Key Vault Connection](/integrations/app-connections/azure-key-vault) with the following permissions:+ - `certificates/list`+ - `certificates/get`+ - `certificates/import`+ - `certificates/delete`<Note>- Certificates synced to Azure Key Vault will be stored as certificate objects,- preserving both the certificate and private key components.+ The **Key Vault Certificates Officer** role includes all required permissions.</Note>+## Create a Key Vault Sync+<Tabs><Tab title="Infisical UI">- 1. Navigate to **Project** > **Integrations** > **Certificate Syncs** and press **Add Sync**.+ 1. In your Application, go to **Certificate Syncs** and click **Create Sync**.2. Select the **Azure Key Vault** option.@@ -166,3 +169,20 @@ To manually sync certificates, use the [Sync Certificates](/api-reference/endpoidue to security limitations where private keys cannot be extracted from AzureKey Vault.</Accordion>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for AWS services.+ </Card>+ <Card title="Auto-Renewal" icon="arrows-spin" href="/documentation/platform/pki/applications/certificates#server-driven-renewal">+ Enable automatic certificate renewal and syncing.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Other Sync Destinations" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ View all supported sync destinations.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/certificate-syncs/chef.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/chef.mdxsimilarity index 86%rename from docs/documentation/platform/pki/certificate-syncs/chef.mdxrename to docs/documentation/platform/pki/applications/certificate-syncs/chef.mdxindex ec715edd53..0086831dc3 100644--- a/docs/documentation/platform/pki/certificate-syncs/chef.mdx+++ b/docs/documentation/platform/pki/applications/certificate-syncs/chef.mdx@@ -1,29 +1,32 @@----title: "Chef"-description: "Learn how to configure a Chef Certificate Sync for Infisical PKI."+title: "Chef Infra"+sidebarTitle: "Chef"+description: "Distribute certificates via Chef data bags."----**Prerequisites:**+Store certificates in Chef data bags for distribution to nodes via Chef Infra. Certificates are stored as data bag items with customizable field names.-- Create a [Chef Connection](/integrations/app-connections/chef)-- Ensure your network security policies allow incoming requests from Infisical to this certificate sync provider, if network restrictions apply.+<Info>+ Certificate Syncs are configured per Application. First select which certificates to sync, then configure the Chef destination.+</Info>-<Note>- The Chef Certificate Sync requires the following permissions to be set on the Chef user- for Infisical to sync certificates to Chef: `data bag read`, `data bag create`, `data bag update`, `data bag delete`.--Any role with these permissions would work such as a custom role with **Data Bag** permissions.+## Prerequisites-</Note>+- A [Chef Connection](/integrations/app-connections/chef) with the following permissions:+ - `data bag read`+ - `data bag create`+ - `data bag update`+ - `data bag delete`<Note>- Certificates synced to Chef will be stored as data bag items within the specified data bag,- preserving both the certificate and private key components as separate fields.+ Certificates are stored as data bag items with configurable field names for certificate, private key, and chain.</Note>+## Create a Chef Sync+<Tabs><Tab title="Infisical UI">- 1. Navigate to **Project** > **Integrations** > **Certificate Syncs** and press **Add Sync**.+ 1. In your Application, go to **Certificate Syncs** and click **Create Sync**.2. Select the **Chef** option.@@ -240,4 +243,21 @@ To manually sync certificates, use the [Sync Certificates](/api-reference/endpoiChef does not support importing certificates back into Infisicaldue to the nature of Chef data bags where certificates are stored as datarather than managed certificate objects.-</Accordion>\ No newline at end of file+</Accordion>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for AWS services.+ </Card>+ <Card title="Auto-Renewal" icon="arrows-spin" href="/documentation/platform/pki/applications/certificates#server-driven-renewal">+ Enable automatic certificate renewal and syncing.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Other Sync Destinations" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ View all supported sync destinations.+ </Card>+</CardGroup>\ No newline at end of filediff --git a/docs/documentation/platform/pki/certificate-syncs/cloudflare-custom-certificate.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/cloudflare-custom-certificate.mdxsimilarity index 80%rename from docs/documentation/platform/pki/certificate-syncs/cloudflare-custom-certificate.mdxrename to docs/documentation/platform/pki/applications/certificate-syncs/cloudflare-custom-certificate.mdxindex 9b12b80c3c..dc0ca6ad1d 100644--- a/docs/documentation/platform/pki/certificate-syncs/cloudflare-custom-certificate.mdx+++ b/docs/documentation/platform/pki/applications/certificate-syncs/cloudflare-custom-certificate.mdx@@ -1,22 +1,28 @@---title: "Cloudflare Custom Certificate"-description: "Learn how to configure a Cloudflare Custom Certificate Sync for Infisical PKI."+sidebarTitle: "Cloudflare"+description: "Deploy custom SSL certificates to Cloudflare zones."----**Prerequisites:**+Deploy custom SSL certificates to your Cloudflare zones. Certificates synced to Cloudflare are used for HTTPS traffic to your domains.-- Create a [Cloudflare Connection](/integrations/app-connections/cloudflare)+<Info>+ Certificate Syncs are configured per Application. First select which certificates to sync, then configure the Cloudflare destination.+</Info>++## Prerequisites++- A [Cloudflare Connection](/integrations/app-connections/cloudflare)<Warning>- **Custom Certificate Quota**: Cloudflare has a default quota of **one custom certificate per zone** on most plans.- Enterprise plans may have higher quotas. If you attempt to sync more certificates than your quota allows,- only one certificate will be successfully uploaded. Check your Cloudflare plan's certificate quota before- configuring the sync, or contact Cloudflare to increase your quota.+ Cloudflare has a default quota of **one custom certificate per zone** on most plans. Enterprise plans may have higher quotas. Check your plan's limit before syncing multiple certificates.</Warning>+## Create a Cloudflare Sync+<Tabs><Tab title="Infisical UI">- 1. Navigate to **Project** > **Integrations** > **Certificate Syncs** and press **Add Sync**.+ 1. In your Application, go to **Certificate Syncs** and click **Create Sync**.2. Select the **Cloudflare Custom Certificate** option.@@ -146,3 +152,20 @@ To manually sync certificates, use the [Sync Certificates](/api-reference/endpoiCloudflare does not support importing certificates back into Infisicaldue to security limitations where private keys cannot be extracted from Cloudflare.</Accordion>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for AWS services.+ </Card>+ <Card title="Auto-Renewal" icon="arrows-spin" href="/documentation/platform/pki/applications/certificates#server-driven-renewal">+ Enable automatic certificate renewal and syncing.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Other Sync Destinations" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ View all supported sync destinations.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/certificate-syncs/netscaler.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/netscaler.mdxsimilarity index 83%rename from docs/documentation/platform/pki/certificate-syncs/netscaler.mdxrename to docs/documentation/platform/pki/applications/certificate-syncs/netscaler.mdxindex d10f1f1221..41acdc0cc4 100644--- a/docs/documentation/platform/pki/certificate-syncs/netscaler.mdx+++ b/docs/documentation/platform/pki/applications/certificate-syncs/netscaler.mdx@@ -1,23 +1,26 @@---title: "NetScaler"-description: "Learn how to configure a NetScaler Certificate Sync for Infisical PKI."+sidebarTitle: "NetScaler"+description: "Deploy certificates to Citrix NetScaler ADC appliances."----**Prerequisites:**+Deploy certificates to Citrix NetScaler ADC appliances via the NITRO API. Certificates can be automatically bound to SSL virtual servers for seamless load balancer integration.-- Create a [NetScaler Connection](/integrations/app-connections/netscaler) with access to the NITRO API on your NetScaler appliance.+<Info>+ Certificate Syncs are configured per Application. First select which certificates to sync, then configure the NetScaler destination.+</Info>-<Note>- **NetScaler Requirements:**- - The NetScaler appliance must be accessible over HTTPS from Infisical (directly or via an [Infisical Gateway](/documentation/platform/gateways/overview)).- - The user account must have permissions to manage SSL certificates and optionally bind them to vservers.- - Certificates are uploaded to `/nsconfig/ssl/` on the appliance.- - Configuration is saved automatically after each sync to persist changes across reboots.-</Note>+## Prerequisites++- A [NetScaler Connection](/integrations/app-connections/netscaler) with NITRO API access+- The NetScaler must be accessible over HTTPS from Infisical (directly or via an [Infisical Gateway](/documentation/platform/gateways/overview))+- User account with permissions to manage SSL certificates and bind them to vservers++## Create a NetScaler Sync<Tabs><Tab title="Infisical UI">- 1. Navigate to **Project** > **Integrations** > **Certificate Syncs** and press **Add Sync**.+ 1. In your Application, go to **Certificate Syncs** and click **Create Sync**.@@ -187,3 +190,20 @@ To manually sync certificates, use the [Sync Certificates](/api-reference/endpoidue to the nature of NetScaler appliances where private keys cannot beextracted from the system.</Accordion>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for AWS services.+ </Card>+ <Card title="Auto-Renewal" icon="arrows-spin" href="/documentation/platform/pki/applications/certificates#server-driven-renewal">+ Enable automatic certificate renewal and syncing.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Other Sync Destinations" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ View all supported sync destinations.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/certificate-syncs/overview.mdx b/docs/documentation/platform/pki/applications/certificate-syncs/overview.mdxnew file mode 100644index 0000000000..13843b0646--- /dev/null+++ b/docs/documentation/platform/pki/applications/certificate-syncs/overview.mdx@@ -0,0 +1,138 @@+---+title: "Certificate Syncs"+sidebarTitle: "Overview"+description: "Push certificates to AWS, Azure, Cloudflare, and other destinations."+---++Push certificates from your Application to external services automatically. When paired with auto-renewal, renewed certificates are synced to their destinations — keeping your infrastructure current without manual intervention.++<Info>+ Certificate Syncs are configured per Application. Select which certificates to sync, then configure the destination.+</Info>++## How It Works++```mermaid+graph LR+ C1[Certificate 1] --> S[Certificate Sync]+ C2[Certificate 2] --> S+ S --> A[App Connection]+ A --> D[Destination Service]+```++1. **Select certificates** to sync from your Application+2. **Configure a destination** using an [App Connection](/integrations/app-connections/overview)+3. **Certificates are pushed** to the destination automatically+4. **Renewals sync automatically** when using server-side auto-renewal++<Note>+ Only certificates managed by Infisical are affected during sync operations. Certificates created directly in the destination service remain untouched.+</Note>++## Supported Destinations++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for use with AWS services.+ </Card>+ <Card title="AWS Elastic Load Balancer" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-elastic-load-balancer">+ Deploy certificates directly to ALB/NLB listeners.+ </Card>+ <Card title="AWS Secrets Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-secrets-manager">+ Store certificates as secrets for application retrieval.+ </Card>+ <Card title="Azure Key Vault" icon="microsoft" href="/documentation/platform/pki/applications/certificate-syncs/azure-key-vault">+ Import certificates into Azure Key Vault.+ </Card>+ <Card title="Cloudflare" icon="cloudflare" href="/documentation/platform/pki/applications/certificate-syncs/cloudflare-custom-certificate">+ Deploy custom SSL certificates to Cloudflare zones.+ </Card>+ <Card title="Chef Infra" icon="utensils" href="/documentation/platform/pki/applications/certificate-syncs/chef">+ Distribute certificates via Chef data bags.+ </Card>+ <Card title="NetScaler" icon="server" href="/documentation/platform/pki/applications/certificate-syncs/netscaler">+ Deploy certificates to Citrix NetScaler ADC.+ </Card>+</CardGroup>++<Note>+ Need a destination that isn't listed? Contact [email protected] to request it.+</Note>++## Creating a Certificate Sync++<Steps>+ <Step title="Create an App Connection">+ If you haven't already, create an [App Connection](/integrations/app-connections/overview) for your destination service. This provides the credentials needed to push certificates.+ </Step>+ <Step title="Configure the sync">+ In your Application, go to **Certificate Syncs** and click **Create Sync**.++ Configure:+ - **Destination**: Select the App Connection and target endpoint+ - **Certificates**: Choose which certificates to sync+ - **Options**: Configure sync behavior (see below)+ </Step>+ <Step title="Certificates are synced">+ Selected certificates are immediately pushed to the destination. Future renewals sync automatically.+ </Step>+</Steps>++## Sync Options++| Option | Description |+|--------|-------------|+| **Remove on expiry** | Automatically remove expired certificates from the destination |+| **Include Root CA** | Include the root CA certificate in the chain |+| **Certificate naming** | Control how certificate names are generated in the destination |++<Info>+ Some destination services don't support automatic removal of expired certificates.+</Info>++### Certificate Naming++By default, certificates are named `Infisical-{certificateId}`. You can customize this with a naming schema.++**Schema placeholders:**+- `{{certificateId}}` — The unique certificate identifier (required)++**Examples:**+- `myapp-{{certificateId}}` → `myapp-abc123def456`+- `ssl/{{certificateId}}` → `ssl/abc123def456`++**Rules:**+- Must include exactly one `{{certificateId}}` placeholder+- Only alphanumeric characters, dashes, underscores, and slashes allowed+- Matching certificates will be managed by Infisical during sync operations++## With Auto-Renewal++Certificate Syncs work seamlessly with [server-driven auto-renewal](/documentation/platform/pki/applications/certificates#server-driven-certificate-renewal):++1. Certificate approaches expiration+2. Infisical automatically renews the certificate+3. Renewed certificate is automatically pushed to all configured sync destinations++This creates a fully automated certificate lifecycle — no manual intervention required.++<Warning>+ Changes made directly to Infisical-managed certificates in the destination service may be overwritten by future syncs.+</Warning>++## What's Next?++<CardGroup cols={2}>+ <Card title="AWS Certificate Manager" icon="aws" href="/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager">+ Import certificates into ACM for AWS services.+ </Card>+ <Card title="Azure Key Vault" icon="microsoft" href="/documentation/platform/pki/applications/certificate-syncs/azure-key-vault">+ Store certificates in Azure Key Vault.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified about certificate lifecycle events.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View and manage certificates in your Application.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/certificates.mdx b/docs/documentation/platform/pki/applications/certificates.mdxnew file mode 100644index 0000000000..352685bd4d--- /dev/null+++ b/docs/documentation/platform/pki/applications/certificates.mdx@@ -0,0 +1,256 @@+---+title: "Certificates"+sidebarTitle: "Certificates"+description: "View and manage the certificate inventory for your Application."+---++View and manage all certificates issued within your Application. From the certificate inventory, you can inspect details, trigger renewals, revoke compromised certificates, and export in various formats.++<Info>+ This page is for Application Admins and Operators. To issue certificates, you'll first need an [enrollment method](/documentation/platform/pki/applications/enrollment-methods/overview) configured for your Application.+</Info>++## Viewing Certificate Details++Click on any certificate in the inventory to open its details page.++++### Certificate Information++| Section | Details |+|---------|---------|+| **Overview** | Common name, status, serial number, validity period |+| **Issuance** | Issuing CA, certificate profile, renewal chain |+| **Subject** | DN components, Organization, OU, Country, SANs |+| **Extensions** | Basic constraints, Key Usage, Extended Key Usage |+| **Cryptographic** | Key algorithm, signature algorithm, fingerprints |++### Certificate Metadata++Certificates support custom key-value metadata for organization and tracking.++<Tabs>+ <Tab title="At Issuance">+ Attach metadata when issuing a certificate through the issuance modal.++ + </Tab>+ <Tab title="After Issuance">+ View and edit metadata from the certificate details page.++ + </Tab>+ <Tab title="Filtering">+ Filter the certificate list by metadata key-value pairs.++ + </Tab>+</Tabs>++<Note>+ When a certificate is renewed, its metadata is automatically carried over to the new certificate.+</Note>++### Management Actions++From the certificate details page, use the **Options** dropdown to:++- **Export Certificate** — Download in PEM or PKCS12 format+- **Enable Auto-Renewal** — Configure server-driven renewal (API enrollment with server-generated keys)+- **Renew Now** — Manually trigger renewal+- **Manage PKI Syncs** — Push to cloud key stores+- **Revoke Certificate** — Revoke with a specified reason+- **Delete Certificate** — Remove from inventory++## Issuing Certificates++To issue a certificate, you need a [certificate profile](/documentation/platform/pki/settings/profiles) (which includes a [certificate policy](/documentation/platform/pki/settings/policies)).++<CardGroup cols={2}>+ <Card title="Self-Signed" icon="signature">+ Configure the profile with `Self-Signed` issuer type. Use [API enrollment](/documentation/platform/pki/applications/enrollment-methods/api) to request.+ </Card>+ <Card title="CA-Issued" icon="building-columns">+ Configure the profile with `Certificate Authority` issuer type and select the [issuing CA](/documentation/platform/pki/ca/overview). Use any [enrollment method](/documentation/platform/pki/applications/enrollment-methods/overview).+ </Card>+</CardGroup>++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Navigate to Certificate Requests">+ Go to your Application → **Certificates** → **Certificate Requests** and click **Request**.++ + </Step>+ <Step title="Select profile and request method">+ Choose the certificate profile and request method:++ | Method | Description |+ |--------|-------------|+ | **Managed** | Infisical generates and manages the private key |+ | **CSR** | You provide your own Certificate Signing Request |++ + </Step>+ <Step title="Fill in certificate details">+ For **Managed**: Fill out subject attributes, SANs, algorithms, and TTL.++ For **CSR**: Paste your PEM-encoded CSR and specify TTL.++ ++ <Note>+ When using CSR, subject attributes and key algorithm are extracted from your CSR. You only specify TTL.+ </Note>+ </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ Use the [API enrollment method](/documentation/platform/pki/applications/enrollment-methods/api) to issue certificates programmatically.+ </Tab>+</Tabs>++## Renewing Certificates++Certificate renewal can be client-driven or server-driven depending on your enrollment method and use case.++### Client-Driven Renewal++The client (Infisical Agent, ACME client, etc.) monitors the certificate and requests a new one before expiration.++**Examples:**+- [ACME](/documentation/platform/pki/applications/enrollment-methods/acme) with Certbot for [Nginx](/documentation/platform/pki/applications/guides/nginx-certbot) or [Apache](/documentation/platform/pki/applications/guides/apache-certbot)+- [cert-manager](/documentation/platform/pki/applications/guides/k8s-cert-manager) for Kubernetes workloads++### Server-Driven Renewal++Infisical automatically renews certificates before expiration and pushes them to sync destinations.++<Info>+ Server-driven renewal is only available for certificates issued via [API enrollment](/documentation/platform/pki/applications/enrollment-methods/api) with server-generated keys.+</Info>++To enable:+1. Select **Enable Auto-Renewal By Default** on the [certificate profile](/documentation/platform/pki/settings/profiles), OR+2. Toggle auto-renewal manually on individual certificates after issuance++Renewed certificates are automatically pushed to configured [certificate syncs](/documentation/platform/pki/applications/certificate-syncs/overview).++<Info>+ Use the [Get Latest Active Certificate Bundle](/api-reference/endpoints/certificate-profiles/get-latest-active-bundle) endpoint to always fetch the most current valid certificate for a profile.+</Info>++## Downloading Certificates++### Latest Profile Certificate++Download the latest certificate for a profile using the [latest certificate bundle](/api-reference/endpoints/certificate-profiles/get-latest-active-bundle) endpoint.++### Specific Certificate++Click **Export Certificate** from the certificate's action menu.++++<Tabs>+ <Tab title="PEM Format">+ Choose **PEM** format to get individual components:+ - Certificate body+ - Certificate chain+ - Private key (if available)++ ++ **Use with:** Apache, Nginx, Docker containers, load balancers++ ```nginx+ server {+ listen 443 ssl;+ ssl_certificate /path/to/certificate.pem;+ ssl_certificate_key /path/to/private-key.pem;+ }+ ```+ </Tab>+ <Tab title="PKCS12 Format">+ Choose **PKCS12** for a single encrypted file containing certificate, chain, and key.++ ++ **Use with:** Java applications, Windows IIS, mobile apps++ ```bash+ # Verify contents+ openssl pkcs12 -in certificate.p12 -nokeys -clcerts++ # Extract private key+ openssl pkcs12 -in certificate.p12 -nocerts -out private-key.pem+ ```++ <Accordion title="Convert to Java KeyStore (JKS)">+ ```bash+ keytool -importkeystore \+ -srckeystore certificate.p12 \+ -srcstoretype PKCS12 \+ -srcstorepass <p12-password> \+ -destkeystore certificate.jks \+ -deststoretype JKS \+ -deststorepass <jks-password>+ ```+ </Accordion>+ </Tab>+</Tabs>++## Revoking Certificates++Revoke a certificate when it's compromised, no longer needed, or the associated private key is lost.++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Revoke the certificate">+ Select **Revoke Certificate** from the certificate's action menu and specify the reason.++ + + </Step>+ <Step title="Verify via CRL">+ Download the CRL from the issuing CA to verify revocation status.++ ++ ```bash+ openssl verify -crl_check -CAfile chain.pem -CRLfile crl.pem cert.pem+ ```+ </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ ```bash+ curl -X POST 'https://app.infisical.com/api/v1/cert-manager/certificates/<cert-id>/revoke' \+ -H 'Authorization: Bearer <access-token>' \+ -H 'Content-Type: application/json' \+ -d '{"revocationReason": "UNSPECIFIED"}'+ ```++ See [Revoke Certificate API](/api-reference/endpoints/certificates/revoke) for details.+ </Tab>+</Tabs>++## What's Next?++<CardGroup cols={2}>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to AWS ACM, Azure Key Vault, and other destinations.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates are about to expire.+ </Card>+ <Card title="Approval Policies" icon="check-double" href="/documentation/platform/pki/applications/approvals">+ Require human review before high-value certificates are issued.+ </Card>+ <Card title="Enrollment Methods" icon="plug" href="/documentation/platform/pki/applications/enrollment-methods/overview">+ Configure how certificates are requested for this Application.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/enrollment-methods/acme.mdx b/docs/documentation/platform/pki/applications/enrollment-methods/acme.mdxnew file mode 100644index 0000000000..ba90b6cdd6--- /dev/null+++ b/docs/documentation/platform/pki/applications/enrollment-methods/acme.mdx@@ -0,0 +1,189 @@+---+title: "ACME Enrollment"+sidebarTitle: "ACME"+description: "Issue certificates using the ACME protocol with Certbot, cert-manager, and other ACME clients."+---++Use the ACME enrollment method to request and renew certificates automatically using standard ACME clients. Infisical acts as an ACME server, compatible with tools like Certbot, cert-manager, and any [RFC 8555](https://datatracker.ietf.org/doc/html/rfc8555/)-compliant client.++<Info>+ ACME enrollment is configured per Application. Your product admin sets up the certificate profile, and you configure ACME enrollment within your Application.+</Info>++## When to Use ACME Enrollment++<CardGroup cols={2}>+ <Card title="Web Servers" icon="server">+ Nginx, Apache, Tomcat, and other web servers with Certbot.+ </Card>+ <Card title="Kubernetes" icon="dharmachakra">+ Use cert-manager to issue certificates for workloads.+ </Card>+ <Card title="Load Balancers" icon="scale-balanced">+ Automate certificate provisioning for HAProxy, Traefik, and others.+ </Card>+ <Card title="Automated Renewal" icon="arrows-spin">+ Let ACME clients handle renewal automatically before expiration.+ </Card>+</CardGroup>++## Prerequisites++Install an [ACME client](https://letsencrypt.org/docs/client-options/) on your server. The client handles domain validation challenges and certificate renewal.++## Configure ACME Enrollment++<Steps>+ <Step title="Navigate to your Application">+ Go to **Certificate Manager → Applications** and select your Application.+ </Step>+ <Step title="Add ACME enrollment">+ In the **Enrollment Methods** section, click **Add Enrollment Method** and select **ACME**.++ {/* SCREENSHOT: Add ACME enrollment method modal */}+ <Frame caption="Adding ACME enrollment to an Application">+ + </Frame>+ </Step>+ <Step title="Select a certificate profile">+ Choose the certificate profile that defines certificate parameters (CA, validity, constraints).+ </Step>+ <Step title="Configure domain validation">+ By default, Infisical verifies domain ownership using the [HTTP-01 challenge](https://letsencrypt.org/docs/challenge-types/#http-01-challenge).++ | Option | Description |+ |--------|-------------|+ | **HTTP-01 Challenge** | ACME client proves domain ownership by serving a file at `/.well-known/acme-challenge/` |+ | **Skip Validation** | Disable domain ownership validation (use for internal domains) |++ <Warning>+ Only skip validation for internal domains where you trust all certificate requesters. For public-facing services, always use domain validation.+ </Warning>++ <Note>+ Skipping validation here is different from [External ACME CA integrations](/documentation/platform/pki/ca/acme-ca). When using an external ACME CA (like Let's Encrypt), Infisical must always complete DNS-01 challenges with the upstream CA.+ </Note>+ </Step>+ <Step title="Get ACME credentials">+ After saving, click **Reveal ACME EAB** to get the credentials your ACME client needs:++ | Credential | Purpose |+ |------------|---------|+ | **ACME Directory URL** | The server URL your ACME client connects to |+ | **EAB Key Identifier (KID)** | Identifies your ACME account |+ | **EAB Secret** | Authenticates your ACME client |++ {/* SCREENSHOT: ACME EAB credentials modal */}+ <Frame caption="ACME credentials for your client">+ + </Frame>+ </Step>+</Steps>++## Issue a Certificate++Configure your ACME client with the credentials from the previous step.++<Tabs>+ <Tab title="Certbot">+ Request a certificate using Certbot's standalone mode:++ ```bash+ sudo certbot certonly \+ --standalone \+ --server "<ACME Directory URL>" \+ --eab-kid "<EAB Key Identifier>" \+ --eab-hmac-key "<EAB Secret>" \+ -d api.example.com \+ --email [email protected] \+ --agree-tos \+ --non-interactive+ ```++ Certbot stores certificates in `/etc/letsencrypt/live/api.example.com/`:+ - `fullchain.pem` — Certificate + chain+ - `privkey.pem` — Private key+ - `cert.pem` — Certificate only+ - `chain.pem` — CA chain only++ For web server integration, see the guides:+ - [Nginx with Certbot](/documentation/platform/pki/applications/guides/nginx-certbot)+ - [Apache with Certbot](/documentation/platform/pki/applications/guides/apache-certbot)+ - [Tomcat with Certbot](/documentation/platform/pki/applications/guides/tomcat-certbot)+ </Tab>+ <Tab title="cert-manager (Kubernetes)">+ Create an ACME ClusterIssuer for cert-manager:++ ```yaml+ apiVersion: cert-manager.io/v1+ kind: ClusterIssuer+ metadata:+ name: infisical-acme+ spec:+ acme:+ server: "<ACME Directory URL>"+ email: [email protected]+ privateKeySecretRef:+ name: infisical-acme-account+ externalAccountBinding:+ keyID: "<EAB Key Identifier>"+ keySecretRef:+ name: infisical-eab-secret+ key: secret+ keyAlgorithm: HS256+ solvers:+ - http01:+ ingress:+ class: nginx+ ```++ Create the EAB secret:++ ```bash+ kubectl create secret generic infisical-eab-secret \+ --from-literal=secret="<EAB Secret>"+ ```++ For full setup, see [Kubernetes cert-manager guide](/documentation/platform/pki/applications/guides/k8s-cert-manager).+ </Tab>+ <Tab title="Other Clients">+ Any [RFC 8555-compliant ACME client](https://letsencrypt.org/docs/client-options/) works with Infisical. Configure your client with:++ 1. **Server/Directory URL**: Your ACME Directory URL+ 2. **External Account Binding (EAB)**: Use the KID and Secret+ 3. **Challenge Type**: HTTP-01 (or skip if configured)++ Refer to your client's documentation for specific configuration.+ </Tab>+</Tabs>++## Automatic Renewal++ACME clients handle renewal automatically. Most clients (like Certbot) install a cron job or systemd timer that checks for expiring certificates and renews them.++```bash+# Test renewal (dry run)+sudo certbot renew --dry-run++# Force renewal+sudo certbot renew --force-renewal+```++For Kubernetes, cert-manager monitors Certificate resources and renews them automatically before expiration.++## What's Next?++<CardGroup cols={2}>+ <Card title="Nginx Guide" icon="n" href="/documentation/platform/pki/applications/guides/nginx-certbot">+ Set up HTTPS on Nginx with Certbot.+ </Card>+ <Card title="Kubernetes Guide" icon="dharmachakra" href="/documentation/platform/pki/applications/guides/k8s-cert-manager">+ Issue certificates for Kubernetes workloads.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates are about to expire.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/enrollment-methods/api.mdx b/docs/documentation/platform/pki/applications/enrollment-methods/api.mdxnew file mode 100644index 0000000000..ca1f67c039--- /dev/null+++ b/docs/documentation/platform/pki/applications/enrollment-methods/api.mdx@@ -0,0 +1,208 @@+---+title: "API Enrollment"+sidebarTitle: "API"+description: "Issue certificates programmatically via the Infisical API or UI."+---++Issue certificates through direct API calls or the Infisical UI. API enrollment gives you full control over certificate requests and is ideal for custom integrations, CI/CD pipelines, and programmatic workflows.++<Info>+ API enrollment is configured per Application. Your product admin sets up the certificate profile, and you configure API enrollment within your Application.+</Info>++## When to Use API Enrollment++<CardGroup cols={2}>+ <Card title="Custom Integrations" icon="code">+ Build certificate issuance into your own tooling and automation.+ </Card>+ <Card title="CI/CD Pipelines" icon="gears">+ Issue certificates as part of deployment workflows.+ </Card>+ <Card title="Server-Driven Renewal" icon="arrows-spin">+ Let Infisical automatically renew certificates before expiration.+ </Card>+ <Card title="One-Off Requests" icon="hand-pointer">+ Issue certificates manually through the UI when needed.+ </Card>+</CardGroup>++## Configure API Enrollment++<Steps>+ <Step title="Navigate to your Application">+ Go to **Certificate Manager → Applications** and select your Application.+ </Step>+ <Step title="Add an enrollment method">+ In the **Enrollment Methods** section, click **Add Enrollment Method** and select **API**.++ {/* SCREENSHOT: Add API enrollment method modal */}+ <Frame caption="Adding API enrollment to an Application">+ + </Frame>+ </Step>+ <Step title="Select a certificate profile">+ Choose the certificate profile that defines what certificates will look like (CA, validity, constraints).++ <Note>+ Profiles are created by product admins. If you don't see any profiles, contact your product admin.+ </Note>+ </Step>+ <Step title="Configure auto-renewal (optional)">+ Enable **Auto-Renewal By Default** to have Infisical automatically renew certificates before expiration.++ | Setting | Description |+ |---------|-------------|+ | **Auto-Renewal** | When enabled, eligible certificates are renewed server-side |+ | **Renew Before Days** | How many days before expiration to trigger renewal |++ <Info>+ Auto-renewal only works for certificates with server-managed private keys. Certificates issued via CSR are not eligible.+ </Info>+ </Step>+</Steps>++## Issue a Certificate++Once API enrollment is configured, you can issue certificates through the UI or API.++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Open certificate requests">+ In your Application, go to **Certificates → Certificate Requests** and click **Request**.++ {/* SCREENSHOT: Certificate requests page with Request button */}+ <Frame caption="Certificate requests page">+ + </Frame>+ </Step>+ <Step title="Select profile and request method">+ Choose your certificate profile and request method:++ | Method | Description |+ |--------|-------------|+ | **Managed** | Infisical generates and manages the private key |+ | **CSR** | You provide your own Certificate Signing Request |+ </Step>+ <Step title="Fill in certificate details">+ **For Managed requests:**+ - Common Name and SANs+ - Key algorithm and signature algorithm+ - Validity period (TTL)+ - Optional metadata tags++ **For CSR requests:**+ - Paste your PEM-encoded CSR+ - Specify validity period (TTL)++ <Note>+ When using CSR, subject attributes and key algorithm are extracted from your CSR.+ </Note>+ </Step>+ <Step title="Download the certificate">+ After issuance, download the certificate body, chain, and private key (if managed).++ <Warning>+ The private key is only shown once. Store it securely immediately after issuance.+ </Warning>+ </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ ### Issue with managed key++ Let Infisical generate the private key:++ ```bash+ curl -X POST 'https://app.infisical.com/api/v1/cert-manager/certificates' \+ -H 'Authorization: Bearer <access-token>' \+ -H 'Content-Type: application/json' \+ -d '{+ "profileId": "<certificate-profile-id>",+ "attributes": {+ "commonName": "api.example.com",+ "ttl": "90d",+ "keyAlgorithm": "RSA_2048",+ "altNames": [+ { "type": "DNS", "value": "api.example.com" },+ { "type": "DNS", "value": "www.api.example.com" }+ ]+ },+ "metadata": [+ { "key": "env", "value": "production" },+ { "key": "service", "value": "payments-api" }+ ]+ }'+ ```++ **Response:**++ ```json+ {+ "certificate": {+ "certificate": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",+ "certificateChain": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",+ "privateKey": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",+ "serialNumber": "123456789012345678",+ "certificateId": "cert-abc123"+ },+ "certificateRequestId": "req-xyz789"+ }+ ```++ ### Issue with your own CSR++ Bring your own private key:++ ```bash+ curl -X POST 'https://app.infisical.com/api/v1/cert-manager/certificates' \+ -H 'Authorization: Bearer <access-token>' \+ -H 'Content-Type: application/json' \+ -d '{+ "profileId": "<certificate-profile-id>",+ "csr": "-----BEGIN CERTIFICATE REQUEST-----\n...\n-----END CERTIFICATE REQUEST-----",+ "attributes": {+ "ttl": "90d"+ }+ }'+ ```++ <Note>+ If the certificate requires approval, the response will include `certificateRequestId` but `certificate` will be `null`. Poll the [Get Certificate Request](/api-reference/endpoints/certificates/certificate-request) endpoint to check status.+ </Note>++ See the [Issue Certificate API reference](/api-reference/endpoints/certificates/create-certificate) for full details.+ </Tab>+</Tabs>++## Server-Driven Auto-Renewal++When auto-renewal is enabled, Infisical automatically renews certificates before they expire:++1. Infisical monitors certificate expiration dates+2. When a certificate is within the "Renew Before Days" threshold, Infisical issues a new certificate+3. The new certificate is pushed to any configured [certificate syncs](/documentation/platform/pki/applications/certificate-syncs/overview)++<Info>+ Auto-renewal only works for certificates with server-managed keys. Certificates issued via CSR must be renewed by the client.+</Info>++To always fetch the latest valid certificate for a profile, use the [Get Latest Active Certificate Bundle](/api-reference/endpoints/certificate-profiles/get-latest-active-bundle) endpoint.++## What's Next?++<CardGroup cols={2}>+ <Card title="ACME Enrollment" icon="robot" href="/documentation/platform/pki/applications/enrollment-methods/acme">+ Use Certbot, cert-manager, or other ACME clients.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to AWS ACM, Azure Key Vault, and more.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View, renew, and revoke certificates in your Application.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates are about to expire.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/enrollment-methods/est.mdx b/docs/documentation/platform/pki/applications/enrollment-methods/est.mdxnew file mode 100644index 0000000000..555385bb72--- /dev/null+++ b/docs/documentation/platform/pki/applications/enrollment-methods/est.mdx@@ -0,0 +1,168 @@+---+title: "EST Enrollment"+sidebarTitle: "EST"+description: "Issue certificates using the Enrollment over Secure Transport (EST) protocol for enterprise devices."+---++Use the EST enrollment method to issue and renew certificates for enterprise devices, IoT systems, and secure networks. EST provides strong mutual TLS authentication and is ideal for environments where devices have pre-installed bootstrap certificates.++<Info>+ EST enrollment is configured per Application. Your product admin sets up the certificate profile, and you configure EST enrollment within your Application.+</Info>++## When to Use EST Enrollment++<CardGroup cols={2}>+ <Card title="Enterprise Devices" icon="laptop">+ Managed corporate laptops, workstations, and mobile devices.+ </Card>+ <Card title="IoT Devices" icon="microchip">+ Industrial equipment, sensors, and embedded systems with factory certificates.+ </Card>+ <Card title="Network Infrastructure" icon="network-wired">+ Switches, routers, and other network equipment with 802.1X authentication.+ </Card>+ <Card title="Secure Environments" icon="shield-halved">+ Environments requiring mutual TLS authentication for certificate requests.+ </Card>+</CardGroup>++Infisical's EST service implements [RFC 7030](https://datatracker.ietf.org/doc/html/rfc7030) with the following endpoints:++| Endpoint | Purpose |+|----------|---------|+| `/cacerts` | Get the CA chain for certificate validation |+| `/simpleenroll` | Request a new certificate |+| `/simplereenroll` | Renew an existing certificate |++## Prerequisites++<Steps>+ <Step title="Bootstrap certificates">+ Your devices need a pre-installed bootstrap certificate (factory/manufacturer certificate) for initial authentication.++ <Note>+ If your devices don't have bootstrap certificates, you can disable bootstrap validation in the EST configuration (less secure).+ </Note>+ </Step>+ <Step title="Trust Infisical's EST server">+ Devices must trust the TLS certificates used by Infisical's EST server.++ <Note>+ For Infisical Cloud, configure devices to trust [Amazon root CA certificates](https://www.amazontrust.com/repository).+ </Note>+ </Step>+</Steps>++## Configure EST Enrollment++<Steps>+ <Step title="Navigate to your Application">+ Go to **Certificate Manager → Applications** and select your Application.+ </Step>+ <Step title="Add EST enrollment">+ In the **Enrollment Methods** section, click **Add Enrollment Method** and select **EST**.++ {/* SCREENSHOT: Add EST enrollment method modal */}+ <Frame caption="Adding EST enrollment to an Application">+ + </Frame>+ </Step>+ <Step title="Select a certificate profile">+ Choose the certificate profile that defines certificate parameters (CA, validity, constraints).+ </Step>+ <Step title="Configure EST settings">+ | Setting | Description |+ |---------|-------------|+ | **EST Passphrase** | Password for client authentication (used as EST password on devices) |+ | **CA Chain Certificate** | Certificate chain to validate device bootstrap certificates |+ | **Disable Bootstrap Validation** | Skip bootstrap certificate validation (for devices without factory certs) |++ <Warning>+ Disabling bootstrap validation removes a layer of security. Only use this for testing or controlled environments.+ </Warning>+ </Step>+ <Step title="Get EST endpoints">+ After saving, note the profile ID for constructing EST URLs:++ ```+ https://app.infisical.com:8443/.well-known/est/{profile-id}/cacerts+ https://app.infisical.com:8443/.well-known/est/{profile-id}/simpleenroll+ https://app.infisical.com:8443/.well-known/est/{profile-id}/simplereenroll+ ```++ <Info>+ EST endpoints use port 8443 and the `.well-known/est` path as defined in RFC 7030.+ </Info>+ </Step>+</Steps>++## Enroll a Device++Configure your EST client with the profile ID and passphrase.++<Tabs>+ <Tab title="Initial Enrollment">+ For new devices with a bootstrap certificate:++ 1. Configure the EST server URL: `https://app.infisical.com:8443/.well-known/est/{profile-id}`+ 2. Set EST username to any value (e.g., `device-001`)+ 3. Set EST password to your **EST Passphrase**+ 4. Use the bootstrap/manufacturer certificate for client authentication+ 5. Generate a CSR and call `/simpleenroll`++ ```bash+ # Example using curl (simplified)+ curl --cert bootstrap-cert.pem --key bootstrap-key.pem \+ -u "device-001:<EST-passphrase>" \+ --data-binary @device.csr \+ -H "Content-Type: application/pkcs10" \+ "https://app.infisical.com:8443/.well-known/est/{profile-id}/simpleenroll"+ ```++ <Note>+ When creating PKCS#12 bundles for client certificates, include only the leaf certificate and private key (not the full chain).+ </Note>+ </Tab>+ <Tab title="Certificate Renewal">+ For devices with an existing EST-issued certificate:++ 1. Use the current EST-issued certificate for client authentication+ 2. Generate a new CSR+ 3. Call `/simplereenroll`++ ```bash+ curl --cert current-cert.pem --key current-key.pem \+ -u "device-001:<EST-passphrase>" \+ --data-binary @device.csr \+ -H "Content-Type: application/pkcs10" \+ "https://app.infisical.com:8443/.well-known/est/{profile-id}/simplereenroll"+ ```+ </Tab>+ <Tab title="Get CA Chain">+ Retrieve the CA certificate chain for validation:++ ```bash+ curl "https://app.infisical.com:8443/.well-known/est/{profile-id}/cacerts"+ ```++ Use this chain to validate certificates issued by Infisical.+ </Tab>+</Tabs>++## What's Next?++<CardGroup cols={2}>+ <Card title="SCEP Enrollment" icon="mobile" href="/documentation/platform/pki/applications/enrollment-methods/scep">+ Use SCEP for network devices and MDM systems.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates are about to expire.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View and manage certificates in your Application.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/applications/enrollment-methods/overview.mdx b/docs/documentation/platform/pki/applications/enrollment-methods/overview.mdxnew file mode 100644index 0000000000..4e44d06e9f--- /dev/null+++ b/docs/documentation/platform/pki/applications/enrollment-methods/overview.mdx@@ -0,0 +1,70 @@+---+title: "Enrollment Methods"+sidebarTitle: "Overview"+description: "Configure how your services and devices request certificates from Certificate Manager."+---++Enrollment methods define how certificates are requested from your Application. Each method supports different use cases — from programmatic API access to standard protocols like ACME that work with existing tooling.++## Choose an Enrollment Method++<CardGroup cols={2}>+ <Card title="API" icon="code" href="/documentation/platform/pki/applications/enrollment-methods/api">+ **Best for:** Custom integrations, scripts, CI/CD pipelines++ Direct HTTP API calls for full programmatic control over certificate issuance.+ </Card>+ <Card title="ACME" icon="robot" href="/documentation/platform/pki/applications/enrollment-methods/acme">+ **Best for:** Web servers, Kubernetes, standard tooling++ Works with Certbot, cert-manager, and any ACME-compatible client.+ </Card>+ <Card title="EST" icon="building" href="/documentation/platform/pki/applications/enrollment-methods/est">+ **Best for:** Enterprise device enrollment, IoT++ RFC 7030 compliant protocol for secure certificate enrollment and re-enrollment.+ </Card>+ <Card title="SCEP" icon="mobile" href="/documentation/platform/pki/applications/enrollment-methods/scep">+ **Best for:** MDM systems, network devices++ Legacy protocol supported by Jamf, Intune, and network equipment.+ </Card>+</CardGroup>++## Comparison++| Method | Protocol | Auto-Renewal | Domain Validation | Best For |+|--------|----------|--------------|-------------------|----------|+| **API** | REST/HTTP | Manual or via agent | None | Custom integrations |+| **ACME** | RFC 8555 | Built-in | HTTP-01, DNS-01 | Web servers, Kubernetes |+| **EST** | RFC 7030 | Re-enrollment | Certificate-based | Enterprise devices |+| **SCEP** | Draft RFC | Challenge-based | Shared secret | MDM, network devices |++## How Enrollment Works++<Steps>+ <Step title="Configure enrollment on your Application">+ In your Application, add an enrollment method and configure its settings (e.g., ACME directory URL, EST endpoint, or API credentials).+ </Step>+ <Step title="Point your client to the endpoint">+ Configure your service, device, or tooling to use the enrollment endpoint provided by Infisical.+ </Step>+ <Step title="Request a certificate">+ Your client requests a certificate. Infisical validates the request against the certificate profile's policy and issues the certificate if it complies.+ </Step>+ <Step title="Receive and install the certificate">+ The certificate is returned to your client. Depending on the enrollment method, renewal may be automatic or manual.+ </Step>+</Steps>++<Note>+ Enrollment methods are configured per Application. This means different services can use different enrollment methods while sharing the same certificate profile.+</Note>++## After Enrollment++Once certificates are issued, you can:++- **Sync certificates** to external destinations like [AWS Certificate Manager](/documentation/platform/pki/applications/certificate-syncs/aws-certificate-manager) or [Azure Key Vault](/documentation/platform/pki/applications/certificate-syncs/azure-key-vault)+- **Set up alerting** to get notified before certificates expire+- **View certificate inventory** in your Application dashboarddiff --git a/docs/documentation/platform/pki/enrollment-methods/scep.mdx b/docs/documentation/platform/pki/applications/enrollment-methods/scep.mdxsimilarity index 80%rename from docs/documentation/platform/pki/enrollment-methods/scep.mdxrename to docs/documentation/platform/pki/applications/enrollment-methods/scep.mdxindex 662c08b6c0..baf82ef7ef 100644--- a/docs/documentation/platform/pki/enrollment-methods/scep.mdx+++ b/docs/documentation/platform/pki/applications/enrollment-methods/scep.mdx@@ -1,12 +1,31 @@----title: "Certificate Enrollment via SCEP"+title: "SCEP Enrollment"sidebarTitle: "SCEP"+description: "Issue certificates using the Simple Certificate Enrollment Protocol (SCEP) for network devices, mobile devices, and MDM systems."----## Concept--The SCEP enrollment method allows you to issue and manage certificates against a specific [certificate profile](/documentation/platform/pki/certificates/profiles) using the [SCEP protocol](https://en.wikipedia.org/wiki/Simple_Certificate_Enrollment_Protocol) (Simple Certificate Enrollment Protocol).-This method is suitable for provisioning certificates to network devices, mobile devices, printers, routers, and other endpoints that support the SCEP protocol.+Use the SCEP enrollment method to provision certificates to network devices, mobile devices, printers, routers, and other endpoints that support the SCEP protocol. SCEP is widely used by MDM tools like Jamf Pro, Ivanti, and Microsoft Intune.++<Info>+ SCEP enrollment is configured per Application. Your product admin sets up the certificate profile, and you configure SCEP enrollment within your Application.+</Info>++## When to Use SCEP Enrollment++<CardGroup cols={2}>+ <Card title="MDM Systems" icon="mobile">+ Jamf Pro, Ivanti, Microsoft Intune, Workspace ONE.+ </Card>+ <Card title="Network Devices" icon="network-wired">+ Routers, switches, firewalls, and access points.+ </Card>+ <Card title="Printers & IoT" icon="print">+ Network printers, scanners, and IoT devices.+ </Card>+ <Card title="Legacy Systems" icon="clock-rotate-left">+ Devices that only support SCEP (not ACME or EST).+ </Card>+</CardGroup>Infisical's SCEP service is based on [RFC 8894](https://datatracker.ietf.org/doc/html/rfc8894) and implements the following operations:@@ -64,13 +83,28 @@ Infisical supports two challenge authentication modes for SCEP enrollment:</Tab></Tabs>-## Guide to Certificate Enrollment via SCEP--In the following steps, we walk through how to issue an X.509 certificate using the SCEP enrollment method.+## Configure SCEP Enrollment<Steps>- <Step title="Create a certificate profile with SCEP enrollment">- Create a [certificate profile](/documentation/platform/pki/certificates/profiles) with **SCEP** selected as the enrollment method and fill in the SCEP-specific configuration.+ <Step title="Navigate to your Application">+ Go to **Certificate Manager → Applications** and select your Application.+ </Step>+ <Step title="Add SCEP enrollment">+ In the **Enrollment Methods** section, click **Add Enrollment Method** and select **SCEP**.++ {/* SCREENSHOT: Add SCEP enrollment method modal */}+ <Frame caption="Adding SCEP enrollment to an Application">+ + </Frame>+ </Step>+ <Step title="Select a certificate profile">+ Choose the certificate profile that defines certificate parameters (CA, validity, constraints).++ <Note>+ The certificate profile must use a **CA-issued** issuer type for SCEP enrollment.+ </Note>+ </Step>+ <Step title="Configure SCEP settings">Here's some guidance on each SCEP-specific configuration field:@@ -198,7 +232,7 @@ In the following steps, we walk through how to issue an X.509 certificate usingEach dynamic challenge can only be used once. If enrollment fails, generate a new challenge and retry.</Note>- For MDM integrations (Jamf Pro, Ivanti, etc.), the MDM tool handles this automatically via webhook. See the [Jamf Pro integration guide](/documentation/platform/pki/integration-guides/jamf-pro-scep) for details.+ For MDM integrations (Jamf Pro, Ivanti, etc.), the MDM tool handles this automatically via webhook. See the [Jamf Pro integration guide](/documentation/platform/pki/applications/guides/jamf-pro-scep) for details.</Tab></Tabs>@@ -260,3 +294,20 @@ Infisical's SCEP server supports the following algorithms for the CMS message exThe server will reject the request with a `400 Bad Request` error indicating the unsupported cipher OID. Configure your client to use AES-256-CBC (`-E aes256` in sscep) for compatibility.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Jamf Pro Guide" icon="mobile" href="/documentation/platform/pki/applications/guides/jamf-pro-scep">+ Set up SCEP enrollment with Jamf Pro MDM.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates are about to expire.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View and manage certificates in your Application.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/integration-guides/apache-certbot.mdx b/docs/documentation/platform/pki/applications/guides/apache-certbot.mdxsimilarity index 84%rename from docs/documentation/platform/pki/integration-guides/apache-certbot.mdxrename to docs/documentation/platform/pki/applications/guides/apache-certbot.mdxindex 23aed363a3..a86622c836 100644--- a/docs/documentation/platform/pki/integration-guides/apache-certbot.mdx+++ b/docs/documentation/platform/pki/applications/guides/apache-certbot.mdx@@ -1,26 +1,27 @@----title: "Apache Server"-description: "Learn how to issue TLS certificates from Infisical using ACME enrollment on Apache Server with Certbot"+title: "Apache with Certbot"+sidebarTitle: "Apache"+description: "Issue TLS certificates for Apache HTTP Server using ACME enrollment with Certbot."----This guide demonstrates how to use Infisical to issue TLS certificates for your [Apache HTTP Server](https://httpd.apache.org/).+Set up automatic TLS certificates for your [Apache HTTP Server](https://httpd.apache.org/) using Infisical and [Certbot](https://certbot.eff.org/). Apache has excellent Certbot integration for both certificate-only mode and automatic SSL configuration.-It uses [Certbot](https://certbot.eff.org/), an installable [ACME](https://en.wikipedia.org/wiki/Automatic_Certificate_Management_Environment) client, to request and renew certificates from Infisical using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles). Apache benefits from excellent Certbot integration, allowing both certificate-only mode and automatic SSL configuration.+<Info>+ This guide assumes you have an Application with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured.+</Info>## Prerequisites-Before you begin, make sure you have:--- An [Apache HTTP Server](https://httpd.apache.org/) running on a Linux system with administrative access.-- A [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) in Infisical.-- Network connectivity from your Apache server to Infisical.-- Port 80 open and reachable for ACME [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation.+- An Apache HTTP Server running on Linux with administrative access+- An Application in Infisical with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured+- Network connectivity from your Apache server to Infisical+- Port 80 open for [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation## Guide<Steps><Step title="Obtain ACME Configuration from Infisical">- Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme).+ Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/settings/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/applications/enrollment-methods/acme).Click the **Reveal ACME EAB** option to view the ACME configuration details.@@ -34,7 +35,7 @@ Before you begin, make sure you have:- EAB Secret: A secret key that authenticates your ACME client with Infisical.<Note>- Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/certificates/profiles) and should not be shared.+ Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/settings/profiles) and should not be shared.</Note></Step>diff --git a/docs/documentation/platform/pki/integration-guides/gloo-mesh.mdx b/docs/documentation/platform/pki/applications/guides/gloo-mesh.mdxsimilarity index 77%rename from docs/documentation/platform/pki/integration-guides/gloo-mesh.mdxrename to docs/documentation/platform/pki/applications/guides/gloo-mesh.mdxindex 9717e6531e..aa373ed6a9 100644--- a/docs/documentation/platform/pki/integration-guides/gloo-mesh.mdx+++ b/docs/documentation/platform/pki/applications/guides/gloo-mesh.mdx@@ -1,9 +1,14 @@---title: "Gloo Mesh"-description: "Learn how to automatically provision and manage Istio intermediate CA certificates for Gloo Mesh using Infisical"+sidebarTitle: "Gloo Mesh"+description: "Provision Istio intermediate CA certificates for Gloo Mesh using Infisical."----This guide will provide a high level overview on how you can use Infisical and [cert-manager](https://cert-manager.io/) to issue Istio intermediate CA certificates for your Gloo Mesh workload clusters. For more background about Istio certificates, see the [Istio CA overview](https://istio.io/latest/docs/concepts/security/#pki).+Provision and manage Istio intermediate CA certificates for your Gloo Mesh workload clusters using Infisical and [cert-manager](https://cert-manager.io/). For background on Istio certificates, see the [Istio CA overview](https://istio.io/latest/docs/concepts/security/#pki).++<Info>+ This guide uses [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured on an Application.+</Info>## Overview@@ -21,7 +26,7 @@ With this approach, you get the following benefits:## General SetupThe certificate provisioning workflow begins with setting up your PKI hierarchy in Infisical, where you create root and subordinate certificate authorities.-When you deploy a `Certificate` CRD in your workload cluster, `cert-manager` uses the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles) to authenticate using EAB credentials and request an intermediate CA certificate.+When you deploy a `Certificate` CRD in your workload cluster, `cert-manager` uses the [ACME enrollment method](/documentation/platform/pki/applications/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/settings/profiles) to authenticate using EAB credentials and request an intermediate CA certificate.Infisical verifies the request against your certificate policies and returns the signed certificate.From there, Istio's control plane will automatically use this intermediate CA to sign leaf certificates for workloads in the service mesh, enabling secure mTLS communication across your entire Gloo Mesh infrastructure.diff --git a/docs/documentation/platform/pki/integration-guides/jamf-pro-scep.mdx b/docs/documentation/platform/pki/applications/guides/jamf-pro-scep.mdxsimilarity index 84%rename from docs/documentation/platform/pki/integration-guides/jamf-pro-scep.mdxrename to docs/documentation/platform/pki/applications/guides/jamf-pro-scep.mdxindex 8d4b6723ae..a4a894a669 100644--- a/docs/documentation/platform/pki/integration-guides/jamf-pro-scep.mdx+++ b/docs/documentation/platform/pki/applications/guides/jamf-pro-scep.mdx@@ -1,28 +1,29 @@----title: "Jamf Pro"-description: "Learn how to distribute certificates to computers and mobile devices using Infisical SCEP enrollment with Jamf Pro"+title: "Jamf Pro with SCEP"+sidebarTitle: "Jamf Pro"+description: "Distribute certificates to managed devices using Infisical SCEP enrollment with Jamf Pro."----This guide demonstrates how to use Infisical to issue and distribute certificates to devices managed by [Jamf Pro](https://www.jamf.com/products/jamf-pro/) using the [SCEP enrollment method](/documentation/platform/pki/enrollment-methods/scep) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles).+Issue and distribute certificates to devices managed by [Jamf Pro](https://www.jamf.com/products/jamf-pro/) using Infisical's SCEP enrollment. Jamf Pro acts as the SCEP client on behalf of your managed devices, automatically distributing certificates without manual intervention.-With this integration, Jamf Pro acts as the SCEP client on behalf of your managed devices, once a configuration profile is saved and scoped, enrolled devices automatically receive certificates issued by your Infisical Certificate Manager without any manual intervention on the device.+<Info>+ This guide assumes you have an Application with [SCEP enrollment](/documentation/platform/pki/applications/enrollment-methods/scep) configured.+</Info>-Infisical supports both **static** and **dynamic** SCEP challenges with Jamf Pro. Dynamic challenges provide stronger security by generating a unique, one-time-use challenge password for each device enrollment.+Infisical supports both **static** and **dynamic** SCEP challenges with Jamf Pro. Dynamic challenges provide stronger security with unique, one-time-use passwords for each device.## Prerequisites-Before you begin, make sure you have:--- A [Jamf Pro](https://www.jamf.com/products/jamf-pro/) instance with administrative access.-- A [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [SCEP enrollment method](/documentation/platform/pki/enrollment-methods/scep) in Infisical. Refer to the [SCEP enrollment guide](/documentation/platform/pki/enrollment-methods/scep) for setup instructions.-- One or more computers or mobile devices enrolled in Jamf Pro.-- For **dynamic challenges**: A [Machine Identity](/documentation/platform/identities/machine-identities) with access to the project containing the certificate profile.+- A Jamf Pro instance with administrative access+- An Application in Infisical with [SCEP enrollment](/documentation/platform/pki/applications/enrollment-methods/scep) configured+- One or more devices enrolled in Jamf Pro+- For dynamic challenges: A [Machine Identity](/documentation/platform/identities/machine-identities) with access to your Application## Guide<Steps><Step title="Gather SCEP details from Infisical">- Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [SCEP enrollment method](/documentation/platform/pki/enrollment-methods/scep).+ Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/settings/profiles) configured with the [SCEP enrollment method](/documentation/platform/pki/applications/enrollment-methods/scep).From the certificate profile, gather the following values:diff --git a/docs/documentation/platform/pki/integration-guides/jboss-certbot.mdx b/docs/documentation/platform/pki/applications/guides/jboss-certbot.mdxsimilarity index 86%rename from docs/documentation/platform/pki/integration-guides/jboss-certbot.mdxrename to docs/documentation/platform/pki/applications/guides/jboss-certbot.mdxindex e8d8fb8b94..f180810d4f 100644--- a/docs/documentation/platform/pki/integration-guides/jboss-certbot.mdx+++ b/docs/documentation/platform/pki/applications/guides/jboss-certbot.mdx@@ -1,27 +1,28 @@----title: "JBoss/WildFly"-description: "Learn how to issue TLS certificates from Infisical using ACME enrollment on JBoss/WildFly with Certbot"+title: "JBoss/WildFly with Certbot"+sidebarTitle: "JBoss/WildFly"+description: "Issue TLS certificates for JBoss/WildFly using ACME enrollment with Certbot."----This guide demonstrates how to use Infisical to issue TLS certificates for your [JBoss](https://www.jboss.org/)/[WildFly](https://wildfly.org/) application server.+Set up automatic TLS certificates for your [JBoss](https://www.jboss.org/)/[WildFly](https://wildfly.org/) application server using Infisical and [Certbot](https://certbot.eff.org/). JBoss/WildFly requires certificates in Java keystore format.-It uses [Certbot](https://certbot.eff.org/), an installable [ACME](https://en.wikipedia.org/wiki/Automatic_Certificate_Management_Environment) client, to request and renew certificates from Infisical using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles). JBoss/WildFly requires certificates in Java keystore format, which this guide addresses through the certificate conversion process.+<Info>+ This guide assumes you have an Application with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured.+</Info>## Prerequisites-Before you begin, make sure you have:--- A [JBoss](https://www.jboss.org/)/[WildFly](https://wildfly.org/) application server running on a Linux system with administrative access.-- A [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) in Infisical.-- Network connectivity from your JBoss/WildFly server to Infisical.-- Port 80 open and reachable for ACME [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation.-- [Java Development Kit (JDK)](https://openjdk.org/) installed for keystore management tools.+- A JBoss/WildFly server running on Linux with administrative access+- An Application in Infisical with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured+- Network connectivity from your server to Infisical+- Port 80 open for [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation+- [Java Development Kit (JDK)](https://openjdk.org/) installed for keystore management## Guide<Steps><Step title="Obtain ACME Configuration from Infisical">- Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme).+ Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/settings/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/applications/enrollment-methods/acme).Click the **Reveal ACME EAB** option to view the ACME configuration details.@@ -35,7 +36,7 @@ Before you begin, make sure you have:- EAB Secret: A secret key that authenticates your ACME client with Infisical.<Note>- Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/certificates/profiles) and should not be shared.+ Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/settings/profiles) and should not be shared.</Note></Step>diff --git a/docs/documentation/platform/pki/k8s-cert-manager.mdx b/docs/documentation/platform/pki/applications/guides/k8s-cert-manager.mdxsimilarity index 81%rename from docs/documentation/platform/pki/k8s-cert-manager.mdxrename to docs/documentation/platform/pki/applications/guides/k8s-cert-manager.mdxindex ca64fd2a00..8e81f8497e 100644--- a/docs/documentation/platform/pki/k8s-cert-manager.mdx+++ b/docs/documentation/platform/pki/applications/guides/k8s-cert-manager.mdx@@ -1,52 +1,39 @@---title: "Kubernetes cert-manager"-description: "Learn how to automatically provision and manage TLS certificates in Kubernetes using Infisical"+sidebarTitle: "Kubernetes"+description: "Automatically provision and manage TLS certificates in Kubernetes using Infisical."----## Concept+Issue TLS certificates to your Kubernetes workloads using [cert-manager](https://cert-manager.io/) and Infisical. Certificates are requested via ACME, stored in Kubernetes Secrets, and renewed automatically before expiration.-This guide demonstrates how to use Infisical to issue TLS certificates back to your Kubernetes environment using [cert-manager](https://cert-manager.io/).+<Info>+ This guide assumes you have an Application with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured.+</Info>-It uses the [ACME issuer type](https://cert-manager.io/docs/configuration/acme/) to request and renew certificates automatically from Infisical-using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles). The issuer is perfect at obtaining X.509 certificates for Ingresses and other Kubernetes resources and can automatically renew them before expiration.+## How It Works-The typical workflow involves installing `cert-manager` and configuring resources that represent the connection details to Infisical as well as the certificates you want to issue.-Each issued certificate and its corresponding private key are stored in a Kubernetes `Secret`.+1. Install cert-manager in your Kubernetes cluster+2. Create an `Issuer` that connects to Infisical's ACME server+3. Create `Certificate` resources that define what certificates you need+4. cert-manager requests certificates from Infisical and stores them in Secrets+5. Certificates are automatically renewed before expiration-We recommend reading the official [cert-manager documentation](https://cert-manager.io/docs/) for a complete overview.-For the ACME-specific configuration, refer to the [ACME section](https://cert-manager.io/docs/configuration/acme/).--## Workflow--A typical workflow for using cert-manager with Infisical via ACME consists of the following steps:--1. Create a [certificate profile](/documentation/platform/pki/certificates/profiles) in Infisical with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on it.-2. Install `cert-manager` in your Kubernetes cluster.-3. Create a Kubernetes `Secret` containing the EAB (External Account Binding) credentials for the ACME certificate profile.-4. Create an `Issuer` or `ClusterIssuer` resource that connects to the desired Infisical [certificate profile](/documentation/platform/pki/certificates/profiles).-5. Create a `Certificate` resource defining the certificate you wish to issue and the target `Secret` where the certificate and private key will be stored.-6. Use the resulting Kubernetes `Secret` in your Ingresses or other resources.+For complete details, see the official [cert-manager documentation](https://cert-manager.io/docs/) and [ACME configuration](https://cert-manager.io/docs/configuration/acme/).## Guide-The following steps show how to install cert-manager (using `kubectl`) and obtain certificates from Infisical.-<Steps>- <Step title="Create a certificate profile with ACME as the enrollment method in Infisical">-- Follow the instructions [here](/documentation/platform/pki/enrollment-methods/acme) to create a certificate profile that uses ACME enrollment.-- After completion, you will have the following values:+ <Step title="Get ACME Credentials from Infisical">+ In your Application's **Enrollment Methods** section, locate your ACME enrollment and click **Reveal ACME EAB** to get:+- **ACME Directory URL**- **EAB Key ID (KID)**- **EAB Secret**- These will be needed in later steps.+ If you haven't configured ACME enrollment yet, follow the [ACME enrollment guide](/documentation/platform/pki/applications/enrollment-methods/acme).<Note>- Currently, the Infisical ACME enrollment method only supports authentication via dedicated EAB credentials generated per certificate profile.-- Support for [Kubernetes Auth](/documentation/platform/identities/kubernetes-auth) is planned for the near future.+ Currently, ACME enrollment uses dedicated EAB credentials. Support for [Kubernetes Auth](/documentation/platform/identities/kubernetes-auth) is planned.</Note></Step>@@ -141,7 +128,7 @@ The following steps show how to install cert-manager (using `kubectl`) and obtai```<Note>- - Currently, the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) only supports the [HTTP-01 challenge](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) method. Support for the [DNS-01 challenge](https://letsencrypt.org/docs/challenge-types/#dns-01-challenge) method is planned for a future release. If domain ownership validation is not desired, you can disable it by enabling the **Skip DNS ownership validation** option in your ACME certificate profile configuration.+ - Currently, the [ACME enrollment method](/documentation/platform/pki/applications/enrollment-methods/acme) only supports the [HTTP-01 challenge](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) method. Support for the [DNS-01 challenge](https://letsencrypt.org/docs/challenge-types/#dns-01-challenge) method is planned for a future release. If domain ownership validation is not desired, you can disable it by enabling the **Skip DNS ownership validation** option in your ACME certificate profile configuration.- An `Issuer` is namespace-scoped. Certificates can only be issued using an `Issuer` that exists in the same namespace as the `Certificate` resource.- If you need to issue certificates across multiple namespaces with a single resource, create a `ClusterIssuer` instead. The configuration is identical except `kind: ClusterIssuer` and no `metadata.namespace`.- More details: https://cert-manager.io/docs/configuration/acme/@@ -399,3 +386,20 @@ type: Opaque</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Nginx with Certbot" icon="n" href="/documentation/platform/pki/applications/guides/nginx-certbot">+ Set up ACME for Nginx web servers.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to AWS, Azure, and more.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates are about to expire.+ </Card>+ <Card title="ACME Enrollment" icon="robot" href="/documentation/platform/pki/applications/enrollment-methods/acme">+ Learn more about ACME enrollment configuration.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/integration-guides/nginx-certbot.mdx b/docs/documentation/platform/pki/applications/guides/nginx-certbot.mdxsimilarity index 71%rename from docs/documentation/platform/pki/integration-guides/nginx-certbot.mdxrename to docs/documentation/platform/pki/applications/guides/nginx-certbot.mdxindex ca3c35034d..02f7f0f3b2 100644--- a/docs/documentation/platform/pki/integration-guides/nginx-certbot.mdx+++ b/docs/documentation/platform/pki/applications/guides/nginx-certbot.mdx@@ -1,40 +1,36 @@----title: "Nginx"-description: "Learn how to issue TLS certificates from Infisical using ACME enrollment on Nginx with Certbot"+title: "Nginx with Certbot"+sidebarTitle: "Nginx"+description: "Issue TLS certificates for Nginx using ACME enrollment with Certbot."----This guide demonstrates how to use Infisical to issue TLS certificates for your [Nginx](https://nginx.org/) server.+Set up automatic TLS certificates for your [Nginx](https://nginx.org/) server using Infisical and [Certbot](https://certbot.eff.org/). Certbot requests and renews certificates automatically from Infisical's ACME server.-It uses [Certbot](https://certbot.eff.org/), an installable [ACME](https://en.wikipedia.org/wiki/Automatic_Certificate_Management_Environment) client, to request and renew certificates from Infisical using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles).+<Info>+ This guide assumes you have an Application with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured.+</Info>## Prerequisites-Before you begin, make sure you have:--- An [Nginx](https://nginx.org/) web server running on a Linux system with administrative access.-- A [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) in Infisical.-- Network connectivity from your Nginx server to Infisical.-- Port 80 open and reachable for ACME [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation.+- An Nginx web server running on Linux with administrative access+- An Application in Infisical with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured+- Network connectivity from your Nginx server to Infisical+- Port 80 open for [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation## Guide<Steps>- <Step title="Obtain ACME Configuration from Infisical">- Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme).- -- Click the **Reveal ACME EAB** option to view the ACME configuration details.-- + <Step title="Get ACME Credentials from Infisical">+ In your Application's **Enrollment Methods** section, locate your ACME enrollment and click **Reveal ACME EAB** to view the credentials:- From the ACME configuration, gather the following values:-- - ACME Directory URL: The URL that Certbot will use to communicate with Infisical's ACME server. This takes the form `https://your-infisical-instance.com/api/v1/cert-manager/certificate-profiles/{profile-id}/acme/directory`.- - EAB Key Identifier (KID): A unique identifier that tells Infisical which ACME account is making the request.- - EAB Secret: A secret key that authenticates your ACME client with Infisical.+ | Credential | Purpose |+ |------------|---------|+ | **ACME Directory URL** | The URL Certbot uses to communicate with Infisical |+ | **EAB Key Identifier (KID)** | Identifies your ACME account |+ | **EAB Secret** | Authenticates your ACME client |<Note>- Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/certificates/profiles) and should not be shared.+ Keep your EAB credentials secure. They authenticate your ACME client with Infisical and are unique to each enrollment.</Note></Step>@@ -173,3 +169,20 @@ Before you begin, make sure you have:</Step></Steps>++## What's Next?++<CardGroup cols={2}>+ <Card title="Apache with Certbot" icon="server" href="/documentation/platform/pki/applications/guides/apache-certbot">+ Set up ACME for Apache web servers.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates are about to expire.+ </Card>+ <Card title="ACME Enrollment" icon="robot" href="/documentation/platform/pki/applications/enrollment-methods/acme">+ Learn more about ACME enrollment configuration.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/integration-guides/tomcat-certbot.mdx b/docs/documentation/platform/pki/applications/guides/tomcat-certbot.mdxsimilarity index 88%rename from docs/documentation/platform/pki/integration-guides/tomcat-certbot.mdxrename to docs/documentation/platform/pki/applications/guides/tomcat-certbot.mdxindex 42e2b11ea4..5aec7b9fce 100644--- a/docs/documentation/platform/pki/integration-guides/tomcat-certbot.mdx+++ b/docs/documentation/platform/pki/applications/guides/tomcat-certbot.mdx@@ -1,26 +1,27 @@----title: "Tomcat"-description: "Learn how to issue TLS certificates from Infisical using ACME enrollment on Tomcat with Certbot"+title: "Tomcat with Certbot"+sidebarTitle: "Tomcat"+description: "Issue TLS certificates for Apache Tomcat using ACME enrollment with Certbot."----This guide demonstrates how to use Infisical to issue TLS certificates for your [Apache Tomcat](https://tomcat.apache.org/) application server.+Set up automatic TLS certificates for your [Apache Tomcat](https://tomcat.apache.org/) application server using Infisical and [Certbot](https://certbot.eff.org/). Tomcat requires certificates to be manually configured after issuance.-It uses [Certbot](https://certbot.eff.org/), an installable [ACME](https://en.wikipedia.org/wiki/Automatic_Certificate_Management_Environment) client, to request and renew certificates from Infisical using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles). Unlike web servers with native Certbot plugins, Tomcat requires certificates to be manually configured after issuance.+<Info>+ This guide assumes you have an Application with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured.+</Info>## Prerequisites-Before you begin, make sure you have:--- An [Apache Tomcat](https://tomcat.apache.org/) application server running on a Linux system with administrative access.-- A [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) in Infisical.-- Network connectivity from your Tomcat server to Infisical.-- Port 80 open and reachable for ACME [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation.+- An Apache Tomcat server running on Linux with administrative access+- An Application in Infisical with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured+- Network connectivity from your Tomcat server to Infisical+- Port 80 open for [HTTP-01](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) validation## Guide<Steps><Step title="Obtain ACME Configuration from Infisical">- Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme).+ Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/settings/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/applications/enrollment-methods/acme).Click the **Reveal ACME EAB** option to view the ACME configuration details.@@ -34,7 +35,7 @@ Before you begin, make sure you have:- EAB Secret: A secret key that authenticates your ACME client with Infisical.<Note>- Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/certificates/profiles) and should not be shared.+ Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/settings/profiles) and should not be shared.</Note></Step>diff --git a/docs/documentation/platform/pki/integration-guides/windows-server-acme.mdx b/docs/documentation/platform/pki/applications/guides/windows-server-acme.mdxsimilarity index 88%rename from docs/documentation/platform/pki/integration-guides/windows-server-acme.mdxrename to docs/documentation/platform/pki/applications/guides/windows-server-acme.mdxindex ae835d8a3f..2d9c1cb227 100644--- a/docs/documentation/platform/pki/integration-guides/windows-server-acme.mdx+++ b/docs/documentation/platform/pki/applications/guides/windows-server-acme.mdx@@ -1,25 +1,26 @@----title: "Windows Server"-description: "Learn how to issue TLS certificates from Infisical using ACME enrollment on Windows Server with win-acme"+title: "Windows Server with win-acme"+sidebarTitle: "Windows Server"+description: "Issue TLS certificates for Windows Server using ACME enrollment with win-acme."----This guide demonstrates how to use Infisical to issue TLS certificates for your [Windows Server](https://www.microsoft.com/en-us/windows-server) environments.+Set up automatic TLS certificates for your [Windows Server](https://www.microsoft.com/en-us/windows-server) using Infisical and [win-acme](https://www.win-acme.com/). Win-acme offers excellent integration with IIS and Windows Certificate Store.-It uses [win-acme](https://www.win-acme.com/), a feature-rich [ACME](https://en.wikipedia.org/wiki/Automatic_Certificate_Management_Environment) client designed specifically for Windows, to request and renew certificates from Infisical using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) configured on a [certificate profile](/documentation/platform/pki/certificates/profiles). Win-acme offers excellent integration with IIS, Windows Certificate Store, and various certificate storage options.+<Info>+ This guide assumes you have an Application with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured.+</Info>## Prerequisites-Before you begin, make sure you have:--- A [Windows Server](https://www.microsoft.com/en-us/windows-server) instance running with administrative access.-- A [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme) in Infisical.-- Network connectivity from your Windows Server to Infisical.+- A Windows Server instance with administrative access+- An Application in Infisical with [ACME enrollment](/documentation/platform/pki/applications/enrollment-methods/acme) configured+- Network connectivity from your Windows Server to Infisical## Guide<Steps><Step title="Obtain ACME Configuration from Infisical">- Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/certificates/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme).+ Navigate to your certificate management project in Infisical and locate your [certificate profile](/documentation/platform/pki/settings/profiles) configured with the [ACME enrollment method](/documentation/platform/pki/applications/enrollment-methods/acme).Click the **Reveal ACME EAB** option to view the ACME configuration details.@@ -33,7 +34,7 @@ Before you begin, make sure you have:- EAB Secret: A secret key that authenticates your ACME client with Infisical.<Note>- Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/certificates/profiles) and should not be shared.+ Keep your EAB credentials secure as they authenticate your ACME client with Infisical PKI. These credentials are unique to each [certificate profile](/documentation/platform/pki/settings/profiles) and should not be shared.</Note></Step>diff --git a/docs/documentation/platform/pki/applications/overview.mdx b/docs/documentation/platform/pki/applications/overview.mdxnew file mode 100644index 0000000000..9e29fc6ca3--- /dev/null+++ b/docs/documentation/platform/pki/applications/overview.mdx@@ -0,0 +1,151 @@+---+title: "Applications"+sidebarTitle: "Overview"+description: "Create Applications to issue and manage certificates for your services and workloads."+---++An **Application** is a logical grouping for a service or workload that needs certificates. Each Application represents a distinct service in your organization — a payments API, a mobile backend, an IoT device fleet, or an internal web app.++Applications are the primary way teams interact with Certificate Manager. Your product admin sets up the infrastructure (CAs, policies, profiles), creates Applications, and assigns team members to them. Once assigned, teams operate within their Applications to issue and manage certificates.++## What's in an Application?++<CardGroup cols={2}>+ <Card title="Members" icon="users">+ Team members with Admin, Operator, or Member roles.+ </Card>+ <Card title="Enrollment Methods" icon="plug">+ How certificates are requested — API, ACME, EST, or SCEP.+ </Card>+ <Card title="Certificate Inventory" icon="list">+ All certificates issued for this Application.+ </Card>+ <Card title="Alerting" icon="bell">+ Notifications for expiration, issuance, renewal, and revocation.+ </Card>+ <Card title="Approval Policies" icon="check-double">+ Optional review workflows before certificates are issued.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate">+ Push certificates to AWS, Azure, Cloudflare, and more.+ </Card>+</CardGroup>++## Application Roles++Members are assigned to Applications with one of three roles:++| Role | Capabilities |+|------|--------------|+| **Admin** | Full control — manage enrollment methods, members, alerting, syncs, and approval policies |+| **Operator** | Issue and manage certificates within the Application |+| **Member** | Read-only — view certificates and Application configuration |++<Info>+ Application roles are simple and direct — just add members and pick a role. Custom roles will be available in a future release.+</Info>++## Create an Application++<Info>+ **Product Admins** create Applications and assign team members to them. If you're a team member waiting for access, ask your product admin to create an Application and add you.+</Info>++<Steps>+ <Step title="Navigate to Applications">+ In Certificate Manager, go to **Applications** and click **Create Application**.+ </Step>+ <Step title="Configure basic settings">+ - **Name**: A descriptive slug like `payments-api` or `device-fleet`+ - **Description**: Optional context about this service+ </Step>+ <Step title="Attach a Certificate Profile">+ Select a certificate profile that defines what certificates will look like — the issuing CA, validity period, allowed domains, and constraints.+ </Step>+ <Step title="Configure enrollment">+ Choose how your service will request certificates:++ | Method | Best for |+ |--------|----------|+ | **API** | Programmatic access, custom integrations |+ | **ACME** | Certbot, cert-manager, standard tooling |+ | **EST** | Enterprise device enrollment |+ | **SCEP** | Network devices, MDM systems |++ See [Enrollment Methods](/documentation/platform/pki/applications/enrollment-methods/overview) for detailed configuration.+ </Step>+ <Step title="Assign team members">+ Add team members and assign roles. Only people assigned to this Application can view or manage its certificates.+ </Step>+</Steps>++## Issue Your First Certificate++Once your Application is configured, you can issue certificates. The process depends on your enrollment method:++<Tabs>+ <Tab title="API">+ Call the certificate issuance endpoint with your Application credentials.++ ```bash+ curl -X POST https://app.infisical.com/api/v1/pki/certificates \+ -H "Authorization: Bearer $INFISICAL_TOKEN" \+ -d '{+ "applicationId": "your-app-id",+ "commonName": "api.example.com"+ }'+ ```++ [Full API documentation →](/documentation/platform/pki/applications/enrollment-methods/api)+ </Tab>+ <Tab title="ACME">+ Use Certbot, cert-manager, or any ACME-compatible client.++ ```bash+ certbot certonly \+ --server https://app.infisical.com/acme/directory \+ -d api.example.com+ ```++ [ACME setup guide →](/documentation/platform/pki/applications/enrollment-methods/acme)+ </Tab>+ <Tab title="EST/SCEP">+ Configure your device or MDM to use the Application's EST or SCEP endpoint.++ - [EST configuration →](/documentation/platform/pki/applications/enrollment-methods/est)+ - [SCEP configuration →](/documentation/platform/pki/applications/enrollment-methods/scep)+ </Tab>+</Tabs>++## What's Next?++<CardGroup cols={2}>+ <Card title="Enrollment Methods" icon="plug" href="/documentation/platform/pki/applications/enrollment-methods/overview">+ Configure how your service requests certificates.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to AWS ACM, Azure Key Vault, and other destinations.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when certificates expire or lifecycle events occur.+ </Card>+ <Card title="Approval Policies" icon="check-double" href="/documentation/platform/pki/applications/approvals">+ Add human review before certificates are issued.+ </Card>+</CardGroup>++## FAQ++<AccordionGroup>+ <Accordion title="What's the difference between an Application and a Certificate Profile?">+ A **Certificate Profile** defines what certificates look like — the CA, policy, and constraints. It's a reusable template created by product admins.++ An **Application** is where a team consumes that profile. One profile can be used by many Applications, each with their own members, enrollment methods, and alerting.+ </Accordion>+ <Accordion title="Can one service use multiple Certificate Profiles?">+ Yes. An Application can have multiple profiles attached, allowing you to issue different types of certificates (e.g., short-lived mTLS certs and longer-lived TLS certs) from the same Application.+ </Accordion>+ <Accordion title="How do I give another team access to my Application?">+ Go to your Application's **Members** tab and invite them with the appropriate role. They'll only have access to this specific Application, not other Applications in your organization.+ </Accordion>+</AccordionGroup>diff --git a/docs/documentation/platform/pki/approvals.mdx b/docs/documentation/platform/pki/approvals.mdxdeleted file mode 100644index b767570c5e..0000000000--- a/docs/documentation/platform/pki/approvals.mdx+++ /dev/null@@ -1,159 +0,0 @@-----title: "Approval Policies & Requests"-sidebarTitle: "Approvals"-description: "Learn how to configure approval workflows for certificate issuance."------Certificate approval workflows add a human review step before certificates are issued, helping organizations enforce security controls and compliance requirements.--## When to Use Approval Workflows--Approval workflows are recommended when:--- **Separation of duties is required**: Your organization requires different people to request and approve certificate issuance.-- **Sensitive certificate issuance needs oversight**: Certificates for production environments, customer-facing services, or internal PKI require additional review.-- **Compliance mandates review**: Regulatory frameworks or internal policies require documented approval before certificate issuance.-- **Preventing unauthorized issuance**: You want to ensure certificates are only issued after proper validation of the request.--If your use case involves fully automated certificate management for workloads (e.g., using [Infisical Agent](/documentation/platform/pki/guides/request-cert-agent)), you may want to enable the machine identity bypass option instead of requiring approval.--## Approval Policies--An approval policy defines the workflow that must be completed before certificates can be issued from specific [certificate profiles](/documentation/platform/pki/certificates/profiles). When a certificate request is made against a profile with an approval policy, the request is placed in a pending state until the required approvers review and approve it.--Key features of approval policies include:--- **Multi-step workflows**: Configure sequential approval steps where each step must be completed before the next begins.-- **Flexible approvers**: Assign individual users or groups as eligible approvers for each step.-- **Required approval count**: Specify how many approvals are needed per step (e.g., require 2 out of 5 eligible approvers).-- **Machine identity bypass**: Allow [machine identities](/documentation/platform/identities/machine-identities) to issue certificates without approval for automated workloads.-- **Request expiration**: Set a maximum time-to-live (TTL) for pending requests.--### Guide to Creating an Approval Policy--To create an approval policy, head to your Certificate Management Project > Certificate Manager > Approvals > Policies and press **Create Policy**.----<Steps>- <Step title="Configuration">- Configure the basic policy settings:-- - **Policy Name**: A descriptive name for the policy such as `production-cert-approval`.- - **Max. Request TTL**: The maximum time a request can remain pending before it expires (optional).- - **Certificate Profiles**: Select one or more certificate profiles that this policy applies to. Any certificate request made against these profiles will require approval.- - **Bypass approval for machine identities**: When enabled, machine identities can issue certificates from the selected profiles without requiring approval. This is useful for automated workloads that need certificates without human intervention.-- - </Step>- <Step title="Approval Sequence">- Configure the approval steps. Each step defines who can approve and how many approvals are required:-- - **Step Name**: An optional name for the step such as `Security Team Review`.- - **Approvers**: Select individual users or groups who are eligible to approve this step. Multiple approvers can be selected.- - **Required Approvals**: The number of approvals needed to complete this step. For example, if you select 5 approvers and require 2 approvals, any 2 of the 5 can approve to complete the step.- - **Notify Approvers**: When enabled, eligible approvers receive a notification when their approval is required.-- You can add multiple steps to create a sequential approval workflow. For example:- 1. **Team Lead Review**: Requires 1 approval from the team leads group- 2. **Security Review**: Requires 2 approvals from the security team-- Each step must be completed in order before the certificate is issued.-- - </Step>- <Step title="Review">- Review your policy configuration and click **Create** to save the policy.-- -- - </Step>-</Steps>--## Approval Requests--When a certificate request is made against a profile with an approval policy, an approval request is created. Approvers can then review and approve or reject the request.--### Viewing Requests--Navigate to your Certificate Management Project > Certificate Manager > Approvals > Requests to view all approval requests. You can filter requests by status:----- **Open Requests**: Requests currently pending approval-- **Approved**: Requests that have been approved and certificates issued-- **Rejected**: Requests that were rejected by an approver-- **Cancelled**: Requests cancelled by the requester-- **Expired**: Requests that exceeded their maximum TTL--### Approving a Request--<Steps>- <Step title="Open the request">- Click on a pending request to view its details.-- - </Step>- <Step title="Review the certificate details">- Review the certificate request information including:- - Requester name and email- - Certificate profile- - Common name and subject alternative names (SANs)- - Key usages and extended key usages- - Validity period- - Basic Constraints-- - </Step>- <Step title="Approve or add comments">- If you are an eligible approver for the current step, click **Approve** to approve the request.- - - </Step>-</Steps>--Once all required approvals for all steps are obtained, the certificate is automatically issued.--### Rejecting a Request--<Steps>- <Step title="Open the request">- Click on a pending request to view its details.- - </Step>- <Step title="Review the certificate details">- Review the certificate request information.- - </Step>- <Step title="Reject with reason">- If you are an eligible approver for the current step, click **Reject** to reject the request. Optionally add a comment explaining the rejection.-- - </Step>-</Steps>--When a request is rejected, the workflow ends and no certificate is issued.--## FAQ--<AccordionGroup>- <Accordion title="I approved a certificate request but the certificate wasn't issued">- If the approval policy has multiple steps, your approval may have completed only one step. The certificate is issued only after all approval steps are completed. Check the request details to see which step is currently pending and ensure all required approvers have approved.- </Accordion>- <Accordion title="I don't see the Approve button on a request">- The Approve button only appears if you are an eligible approver for the current step. Verify that:- - You are listed as an approver (either directly or through a group) for the current approval step- - The request is still in a pending state and hasn't expired- - A previous step hasn't already been rejected- </Accordion>- <Accordion title="Can I use approval workflows with ACME or EST enrollment?">- Approval policies can be configured on profiles using any enrollment method, including [API](/documentation/platform/pki/enrollment-methods/api), [ACME](/documentation/platform/pki/enrollment-methods/acme), and [EST](/documentation/platform/pki/enrollment-methods/est). However, automated clients like Certbot typically cannot wait for human approval.- </Accordion>- <Accordion title="What happens when a request expires?">- When a pending request exceeds the maximum TTL configured in the approval policy, it automatically moves to an **Expired** status. No certificate is issued for expired requests. The requester will need to submit a new certificate request.- </Accordion>- <Accordion title="Can an approver also be the requester?">- By default, an approver can approve their own requests if they are listed as an eligible approver. If your organization requires separation of duties where requesters cannot approve their own requests, configure the approval policy with approver groups that exclude potential requesters.- </Accordion>-</AccordionGroup>diff --git a/docs/documentation/platform/pki/ca/acme-ca.mdx b/docs/documentation/platform/pki/ca/acme-ca.mdxindex 18b75ffb57..209d342af4 100644--- a/docs/documentation/platform/pki/ca/acme-ca.mdx+++ b/docs/documentation/platform/pki/ca/acme-ca.mdx@@ -43,7 +43,7 @@ A typical workflow for using Infisical with an external ACME-compatible CA consi2. Creating an [App Connection](/integrations/app-connections/overview) in Infisical to store credentials for Infisical to connect to your DNS provider and create/remove DNS records as part of the DNS-01 challenge.3. Registering an [External CA](/documentation/platform/pki/ca/external-ca) in Infisical with the ACME type and inputting required configuration including the **ACME Directory URL** of the upstream ACME-compatible CA and the **App Connection** for your DNS provider.-Once this is complete, you can create a [certificate profile](/documentation/platform/pki/certificates/profiles) linked to the External CA proceed to request a certificate against it.+Once this is complete, you can create a [certificate profile](/documentation/platform/pki/settings/profiles) linked to the External CA and proceed to request a certificate against it.## Guide to Connecting Infisical to an ACME-compatible CA@@ -157,7 +157,7 @@ In the following steps, we explore how to connect Infisical to an ACME-compatiblFinally, press **Create** to register the ACME-compatible CA with Infisical.- Great! You’ve successfully registered an external ACME-compatible CA with Infisical. Now check out the [Certificates](/documentation/platform/pki/certificates/overview) section to learn more about how to issue X.509 certificates using the ACME-compatible CA.+ Great! You’ve successfully registered an external ACME-compatible CA with Infisical. Now check out the [Applications](/documentation/platform/pki/applications/overview) section to learn more about how to issue X.509 certificates using the ACME-compatible CA.</Tab><Tab title="API">To register an ACME CA with Infisical using the API, make a request to the [Create External CA](https://infisical.com/docs/api-reference/endpoints/certificate-authorities/acme/create) endpoint:diff --git a/docs/documentation/platform/pki/ca/ca-renewal.mdx b/docs/documentation/platform/pki/ca/ca-renewal.mdxnew file mode 100644index 0000000000..f8b43b2272--- /dev/null+++ b/docs/documentation/platform/pki/ca/ca-renewal.mdx@@ -0,0 +1,92 @@+---+title: "CA Renewal"+sidebarTitle: "CA Renewal"+description: "Renew your Certificate Authority certificates before they expire."+---++Renew a CA certificate to extend its validity period. The renewal process varies depending on how your CA was originally signed.++<Info>+ This page is for product admins managing PKI infrastructure. If you're looking to renew end-entity certificates, see [Applications](/documentation/platform/pki/applications/overview).+</Info>++## Before You Renew++<Note>+ - If renewing an intermediate CA chained to an **Infisical CA**, Infisical will automate the process of generating a new certificate for you.+ - If renewing an intermediate CA signed by an **external CA provider** (e.g., Venafi, Azure AD CS), you can configure auto-renewal to automate the process. See [Venafi auto-renewal](/documentation/platform/pki/ca/venafi#auto-renewal) or [AD CS auto-renewal](/documentation/platform/pki/ca/azure-adcs#auto-renewal-for-ad-cs-signed-cas).+ - If renewing an intermediate CA chained to an **external parent CA via manual import**, you'll need to generate a new certificate from the external parent CA and manually import it back.+</Note>++## Renew a CA++<Tabs>+ <Tab title="Infisical UI">+ <Steps>+ <Step title="Navigate to the CA">+ Go to **Certificate Manager → Certificate Authorities → Internal** and select the CA you want to renew.+ </Step>+ <Step title="Start renewal">+ Click **Renew CA** on the left side of the CA detail page.++ + </Step>+ <Step title="Set new validity">+ Input a new **Valid Until** date for the renewed CA certificate and click **Renew**.++ ++ <Note>+ The new **Valid Until** date must be within the validity period of the parent CA.+ </Note>+ </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ To renew a CA certificate, make an API request to the [Renew CA](/api-reference/endpoints/certificate-authorities/renew) API endpoint, specifying the new `notAfter` date for the CA.++ ### Sample request++ ```bash+ curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/ca/internal/<ca-id>/renew' \+ --header 'Authorization: Bearer <access-token>' \+ --header 'Content-Type: application/json' \+ --data-raw '{+ "type": "existing",+ "notAfter": "2029-06-12"+ }'+ ```++ ### Sample response++ ```json+ {+ "certificate": "...",+ "certificateChain": "...",+ "serialNumber": "..."+ }+ ```+ </Tab>+</Tabs>++## FAQ++<AccordionGroup>+ <Accordion title="Does Infisical support CA renewal via new key pair?">+ At the moment, Infisical only supports CA renewal via same key pair. We anticipate supporting CA renewal via new key pair in the coming month.+ </Accordion>+ <Accordion title="What happens to certificates issued by the old CA certificate?">+ Certificates issued before the renewal remain valid until their own expiration date. The CA's private key stays the same, so the chain of trust is preserved.+ </Accordion>+</AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="CRL Distribution Points" icon="list" href="/documentation/platform/pki/ca/crl-distribution">+ Configure CRL mirrors for your CA.+ </Card>+ <Card title="Create CA Hierarchy" icon="sitemap" href="/documentation/platform/pki/ca/private-ca">+ Set up root and intermediate CAs.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/ca/crl-distribution.mdx b/docs/documentation/platform/pki/ca/crl-distribution.mdxnew file mode 100644index 0000000000..10b5c6c1e1--- /dev/null+++ b/docs/documentation/platform/pki/ca/crl-distribution.mdx@@ -0,0 +1,124 @@+---+title: "CRL Distribution Points"+sidebarTitle: "CRL Distribution"+description: "Configure Certificate Revocation List (CRL) distribution points for your Certificate Authorities."+---++Every certificate issued by an internal CA embeds a CRL Distribution Point (CDP) extension that tells validators where to fetch the revocation list. You can register additional mirror URLs at the CA level so validators have fallback locations if the primary endpoint is unreachable.++<Info>+ This page is for product admins managing PKI infrastructure. CRL configuration is an advanced topic — most users don't need to configure custom mirrors.+</Info>++## How It Works++- The **Infisical-managed URL** is always included as the primary CDP and cannot be removed.+- Up to **4 mirror URLs** can be configured per CA.+- URLs must use `http://` or `https://`.+- Changes apply only to certificates issued **after** the update — existing certificates are not affected.++<Warning>+ Infisical only **advertises** the mirror URLs in issued certificates — it does not publish your CRL to them. You are responsible for fetching the latest CRL from Infisical and serving an up-to-date copy at every mirror URL you register. If a mirror serves a stale CRL, validators that fall back to it will get outdated revocation information and may continue to trust certificates you have already revoked.+</Warning>++## Configure CRL Mirrors++<Tabs>+ <Tab title="Infisical UI">+ Mirror URLs can be configured at CA creation time or any time after via the **CRL Distribution Points** card on the CA detail page.++ <Steps>+ <Step title="Navigate to CA details">+ Go to **Certificate Manager → Certificate Authorities → Internal** and select your CA.+ </Step>+ <Step title="Edit CRL Distribution Points">+ Click the pencil icon on the **CRL Distribution Points** card.+ </Step>+ <Step title="Add mirror URLs">+ Add one URL per row, in order of preference (clients try them in the listed order).++ + </Step>+ </Steps>+ </Tab>+ <Tab title="API">+ Pass the `crlDistributionPointUrls` array under `configuration` when creating or updating an internal CA.++ ### Create CA with CRL mirrors++ ```bash+ curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/ca/internal' \+ --header 'Authorization: Bearer <access-token>' \+ --header 'Content-Type: application/json' \+ --data-raw '{+ "projectId": "<your-project-id>",+ "name": "my-internal-ca",+ "configuration": {+ "type": "root",+ "commonName": "My Root CA",+ "keyAlgorithm": "RSA_2048",+ "crlDistributionPointUrls": [+ "https://crl.example.com/internal-ca.crl",+ "https://backup-crl.example.com/internal-ca.crl"+ ]+ }+ }'+ ```++ ### Update existing CA++ ```bash+ curl --location --request PATCH 'https://app.infisical.com/api/v1/cert-manager/ca/internal/<ca-id>' \+ --header 'Authorization: Bearer <access-token>' \+ --header 'Content-Type: application/json' \+ --data-raw '{+ "configuration": {+ "crlDistributionPointUrls": [+ "https://crl.example.com/internal-ca.crl"+ ]+ }+ }'+ ```+ </Tab>+</Tabs>++## Keeping Mirrors in Sync++Infisical regenerates each CA's CRL automatically — CRLs are rebuilt whenever a certificate is revoked or the existing CRL is approaching its `nextUpdate` time. To keep your mirrors useful, pull the latest CRL on a schedule and republish it at each mirror URL.++### Fetch the current CRL++```bash+curl --location --request GET 'https://app.infisical.com/api/v1/cert-manager/ca/internal/<ca-id>/crls' \+ --header 'Authorization: Bearer <access-token>'+```++The response contains the PEM-encoded CRL. Write it to your mirror destination using your preferred sync method.++<Note>+ Run this on a cron schedule that's well within the CRL validity window — every few hours is a reasonable default — so mirrors never serve a stale or expired CRL to validators.+</Note>++### Example: Sync to S3++```bash+#!/bin/bash+# Fetch CRL and upload to S3++CRL=$(curl -s -H "Authorization: Bearer $TOKEN" \+ "https://app.infisical.com/api/v1/cert-manager/ca/internal/$CA_ID/crls")++echo "$CRL" | aws s3 cp - s3://my-bucket/crl/internal-ca.crl \+ --content-type "application/pkix-crl"+```++## What's Next?++<CardGroup cols={2}>+ <Card title="CA Renewal" icon="arrows-rotate" href="/documentation/platform/pki/ca/ca-renewal">+ Renew your CA certificates before expiry.+ </Card>+ <Card title="Certificate Policies" icon="shield-check" href="/documentation/platform/pki/settings/policies">+ Define rules for certificate issuance.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/ca/external-ca.mdx b/docs/documentation/platform/pki/ca/external-ca.mdxindex fb228dd97b..abae514efe 100644--- a/docs/documentation/platform/pki/ca/external-ca.mdx+++ b/docs/documentation/platform/pki/ca/external-ca.mdx@@ -1,52 +1,97 @@---title: "External CA"sidebarTitle: "External CA"-description: "Learn how to connect External Certificate Authorities with Infisical."+description: "Connect external Certificate Authorities to Infisical."----## Concept+Integrate with External Certificate Authorities (CAs) to use existing PKI infrastructure or connect to public CAs for certificate issuance.-Infisical lets you integrate with External Certificate Authorities (CAs), allowing you to use existing PKI infrastructure or connect to public CAs to issue certificates for your end-entities.--<div align="center">+<Info>+ This page is for product admins setting up PKI infrastructure. Teams issuing certificates should see [Applications](/documentation/platform/pki/applications/overview).+</Info>```mermaidgraph TD- A1[External Public CA<br>e.g. Let's Encrypt, ZeroSSL, ...] --> Infisical- A2[External Private CA<br>e.g. AWS Private CA, HashiCorp Vault PKI, ...] --> Infisical+ A1[External Public CA<br>e.g. Let's Encrypt, DigiCert] --> Infisical+ A2[External Private CA<br>e.g. AWS Private CA, Venafi] --> Infisical```-</div>--As shown above, these CAs commonly fall under two categories:--- External Private CAs: CAs like AWS Private CA, HashiCorp Vault PKI, Azure ADCS, etc. that are privately owned and are used to issue certificates for internal services; these are often either cloud-hosted private CAs or on-prem / enterprise CAs.-- External Public CAs: CAs like Let's Encrypt, DigiCert, GlobalSign, etc. that are publicly trusted and are used to issue certificates for public-facing services.--Note that Infisical can act as an _ACME client_, allowing you to integrate upstream with any [ACME-compatible CA](/documentation/platform/pki/ca/acme-ca) to automate certificate issuance and renewal.--## Workflow--A typical workflow for integrating an External CA with Infisical consists of choosing the desired External CA type-and specifying the configuration or connection details necessary to connect to the CA.--The specific steps and requirements vary depending on the External CA type you choose to integrate.--## Supported External CA Types--Infisical currently supports the following External CA types out of the box:--- [ACME CA](/documentation/platform/pki/ca/acme-ca): An ACME-compatible CA that supports the ACME protocol, such as Let's Encrypt, ZeroSSL, Buypass, DigiCert, Sectigo, etc.-- [Azure ADCS](/documentation/platform/pki/ca/azure-adcs): Issue certificates and automate the signing and renewal of internal intermediate CA certificates through Microsoft Active Directory Certificate Services (ADCS).-- [AWS Private CA](/documentation/platform/pki/ca/aws-pca): An AWS Private Certificate Authority (PCA) for cloud-native private certificate management.-- [Venafi TLS Protect Cloud](/documentation/platform/pki/ca/venafi): Automate the signing and renewal of internal intermediate CA certificates through Venafi TLS Protect Cloud.--If you don’t see a specific external CA listed here or need a dedicated integration guide, please reach out to [email protected] and we’ll help you set up the integration for your external CA.+## Types of External CAs++| Type | Examples | Use Case |+|------|----------|----------|+| **External Public CAs** | Let's Encrypt, DigiCert, Sectigo | Public-facing services with browser trust |+| **External Private CAs** | AWS Private CA, Venafi, Azure ADCS | Internal services, cloud-hosted or on-prem |++Infisical can act as an ACME client, allowing integration with any [ACME-compatible CA](/documentation/platform/pki/ca/acme-ca).++## Supported External CAs++### Public CAs++<CardGroup cols={2}>+ <Card title="ACME CA (Generic)" icon="robot" href="/documentation/platform/pki/ca/acme-ca">+ Connect to any ACME-compatible CA (Let's Encrypt, ZeroSSL, Buypass, etc.)+ </Card>+ <Card title="Let's Encrypt" icon="lock" href="/documentation/platform/pki/ca/lets-encrypt">+ Free, automated certificates for public domains.+ </Card>+ <Card title="AWS ACM Public CA" icon="aws" href="/documentation/platform/pki/ca/aws-acm-public-ca">+ Publicly trusted certificates via AWS Certificate Manager.+ </Card>+ <Card title="DigiCert" icon="shield-halved" href="/documentation/platform/pki/ca/digicert">+ Enterprise certificates via DigiCert CertCentral.+ </Card>+ <Card title="DigiCert Direct" icon="shield-halved" href="/documentation/platform/pki/ca/digicert-direct">+ Direct integration with DigiCert infrastructure.+ </Card>+ <Card title="Sectigo" icon="certificate" href="/documentation/platform/pki/ca/sectigo">+ Enterprise certificates via Sectigo Certificate Manager.+ </Card>+</CardGroup>++### Private CAs++<CardGroup cols={2}>+ <Card title="AWS Private CA" icon="aws" href="/documentation/platform/pki/ca/aws-pca">+ Cloud-native private certificate management via AWS PCA.+ </Card>+ <Card title="Azure ADCS" icon="microsoft" href="/documentation/platform/pki/ca/azure-adcs">+ Microsoft Active Directory Certificate Services integration.+ </Card>+ <Card title="Venafi TLS Protect Cloud" icon="cloud" href="/documentation/platform/pki/ca/venafi">+ Venafi's cloud-based certificate management platform.+ </Card>+ <Card title="Venafi TPP" icon="server" href="/documentation/platform/pki/ca/venafi-tpp">+ Venafi Trust Protection Platform (on-premises).+ </Card>+</CardGroup>++<Note>+ Don't see your CA? Contact [email protected] and we'll help you set up the integration.+</Note>## FAQ<AccordionGroup>- <Accordion title="Can I use both Private CAs and External CAs in the same project?">- Yes. You can have both Private and External CAs in the same project.+ <Accordion title="Can I use both Private CAs and External CAs in the same product?">+ Yes. You can have both Private and External CAs in the same Certificate Manager product.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Internal CA" icon="building-columns" href="/documentation/platform/pki/ca/private-ca">+ Create your own private CA hierarchy.+ </Card>+ <Card title="Certificate Policies" icon="file-contract" href="/documentation/platform/pki/settings/policies">+ Define constraints for certificates.+ </Card>+ <Card title="Certificate Profiles" icon="id-card" href="/documentation/platform/pki/settings/profiles">+ Create profiles that link CAs with policies.+ </Card>+ <Card title="Applications" icon="grid-2" href="/documentation/platform/pki/applications/overview">+ Issue certificates through Applications.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/ca/overview.mdx b/docs/documentation/platform/pki/ca/overview.mdxindex 9a815992ae..a88d18379d 100644--- a/docs/documentation/platform/pki/ca/overview.mdx+++ b/docs/documentation/platform/pki/ca/overview.mdx@@ -1,13 +1,91 @@----title: "Overview"+title: "Certificate Authorities"sidebarTitle: "Overview"+description: "Set up Certificate Authorities to issue certificates across your organization."----Before issuing and managing certificates with Infisical, you'll need to configure a Certificate Authority (CA).+A Certificate Authority (CA) is the entity that signs and issues X.509 certificates. Before teams can issue certificates through Applications, product admins need to configure at least one CA.-This is the trusted entity that signs and validates the X.509 certificates used to secure your end-entities.+Certificate Manager supports two types of CAs:-Infisical supports two categories of CAs:+<CardGroup cols={2}>+ <Card title="Private CA" icon="lock" href="/documentation/platform/pki/ca/private-ca">+ **Managed by Infisical**++ Create root and intermediate CAs directly in Infisical. Ideal for internal services, mTLS, and private networks where public trust isn't required.+ </Card>+ <Card title="External CA" icon="building-columns" href="/documentation/platform/pki/ca/external-ca">+ **Integrated with Infisical**++ Connect to public CAs (Let's Encrypt, DigiCert) or enterprise PKI (AWS PCA, Azure ADCS, Venafi). Use existing infrastructure or issue publicly trusted certificates.+ </Card>+</CardGroup>-- [Internal CA](/documentation/platform/pki/ca/private-ca): Internally operated root and intermediate CAs managed within Infisical. This is useful if you need complete control over your PKI and are issuing certificates for private networks, internal services, or managed devices.-- [External CA](/documentation/platform/pki/ca/external-ca): Third-party public (e.g. Let's Encrypt, DigiCert) or private (e.g. AWS Private CA, HashiCorp Vault PKI, etc.) CAs that can be integrated with Infisical. This is useful if you want to leverage existing PKI infrastructure or issue publicly trusted certificates.+## Which Should I Use?++| Use Case | Recommended CA |+|----------|----------------|+| Internal services, mTLS between microservices | Private CA |+| Public-facing websites needing browser trust | External CA (Let's Encrypt, DigiCert) |+| Enterprise with existing PKI infrastructure | External CA (AWS PCA, Azure ADCS, Venafi) |+| IoT devices, internal device fleet | Private CA |+| Regulated environments with specific CA requirements | External CA (your approved provider) |++## Private CA Hierarchy++When using Private CAs, you typically create a hierarchy:++```+Root CA (offline, long-lived)+└── Intermediate CA (online, issues certificates)+ └── Leaf Certificates (TLS, mTLS, devices)+```++<Info>+ Best practice: Keep your Root CA offline or with minimal usage. Create one or more Intermediate CAs to issue day-to-day certificates. This limits exposure if an Intermediate CA is compromised.+</Info>++## External CA Integrations++Infisical integrates with major public and private CA providers:++<CardGroup cols={3}>+ <Card title="Let's Encrypt" icon="lock" href="/documentation/platform/pki/ca/lets-encrypt">+ Free, automated, publicly trusted certificates.+ </Card>+ <Card title="DigiCert" icon="shield-check" href="/documentation/platform/pki/ca/digicert">+ Enterprise-grade public and private certificates.+ </Card>+ <Card title="AWS PCA" icon="aws" href="/documentation/platform/pki/ca/aws-pca">+ Private CA managed in AWS.+ </Card>+ <Card title="Azure ADCS" icon="microsoft" href="/documentation/platform/pki/ca/azure-adcs">+ Active Directory Certificate Services.+ </Card>+ <Card title="Venafi" icon="building" href="/documentation/platform/pki/ca/venafi">+ Enterprise certificate lifecycle management.+ </Card>+ <Card title="ACME CAs" icon="robot" href="/documentation/platform/pki/ca/acme-ca">+ Any ACME-compatible CA.+ </Card>+</CardGroup>++[View all External CA integrations →](/documentation/platform/pki/ca/external-ca)++## Next Steps++<Steps>+ <Step title="Create or connect a CA">+ Set up a [Private CA](/documentation/platform/pki/ca/private-ca) or connect an [External CA](/documentation/platform/pki/ca/external-ca).+ </Step>+ <Step title="Create a Certificate Policy">+ Define the rules for certificates — allowed domains, validity periods, key algorithms.++ [Certificate Policies →](/documentation/platform/pki/settings/policies)+ </Step>+ <Step title="Create a Certificate Profile">+ Combine your CA with a policy to create a reusable profile that teams can consume.++ [Certificate Profiles →](/documentation/platform/pki/settings/profiles)+ </Step>+</Steps>diff --git a/docs/documentation/platform/pki/ca/private-ca.mdx b/docs/documentation/platform/pki/ca/private-ca.mdxindex a5437825ed..d2c315657d 100644--- a/docs/documentation/platform/pki/ca/private-ca.mdx+++ b/docs/documentation/platform/pki/ca/private-ca.mdx@@ -1,14 +1,14 @@---title: "Internal CA"sidebarTitle: "Internal CA"-description: "Learn how to create a Private CA hierarchy with Infisical."+description: "Create a Private CA hierarchy to issue certificates for your organization."----## Concept+Build your Internal PKI through a Private Certificate Authority (CA) hierarchy. This allows you to issue and manage X.509 certificates for internal services without relying on external CAs.-Infisical lets you build your Internal PKI through a Private Certificate Authority (CA) hierarchy, enabling you to issue and manage digital certificates for your end-entities.--<div align="center">+<Info>+ This page is for product admins setting up PKI infrastructure. Teams issuing certificates should see [Applications](/documentation/platform/pki/applications/overview).+</Info>```mermaidgraph TD@@ -17,36 +17,28 @@ graph TDA --> C[Intermediate CA]```-</div>--## Workflow--A typical workflow for setting up a Private CA hierarchy consists of the following steps:+## How It Works-1. Configuring an Infisical root CA with details like name, validity period, and path length — This step is optional if you wish to use an external root CA with Infisical only serving the intermediate CAs.-2. Configuring and chaining intermediate CA(s) with details like name, validity period, path length, and imported certificate to your Root CA.-3. Managing the CA lifecycle events such as CA succession.+1. **Create a Root CA** — Or use an existing external root CA+2. **Create Intermediate CA(s)** — Chain them to your root CA+3. **Create Certificate Profiles** — Link CAs to policies for teams to use+4. **Create Applications** — Assign profiles to Applications for teams<Note>- Note that this workflow can be executed via the Infisical UI or manually such- as via API. If manually executing the workflow, you may have to create a- Certificate Signing Request (CSR) for the intermediate CA, create an- intermediate certificate using the root CA private key and CSR, and import the- intermediate certificate back to the intermediate CA as part of Step 2.+ You can execute this workflow via the UI or API. For API workflows, you may need to create CSRs and import certificates manually.</Note>-## Guide to Creating a CA Hierarchy+## Create a CA Hierarchy-In the following steps, we explore how to create a simple Private CA hierarchy-consisting of an (optional) root CA and an intermediate CA.+Create a simple Private CA hierarchy with a root CA and intermediate CA.<Tabs><Tab title="Infisical UI"><Steps>- <Step title="Creating a root CA">- If you wish to use an external root CA, you can skip this step and head to step 2 to create an intermediate CA.+ <Step title="Create a root CA">+ If you have an existing external root CA, skip to step 2.- To create a root CA, head to your Certificate Management Project > Certificate Authorities > Internal Certificate Authorities and press **Create CA**.+ Go to **Certificate Manager → Certificate Authorities → Internal** and click **Create CA**.@@ -102,7 +94,7 @@ consisting of an (optional) root CA and an intermediate CA.- You've successfully created a Private CA hierarchy with a root CA and an intermediate CA. Now check out the [Certificates section](/documentation/platform/pki/certificates/overview) to learn more about how to issue X.509 certificates using the intermediate CA.+ You've successfully created a Private CA hierarchy with a root CA and an intermediate CA. Now check out the [Applications section](/documentation/platform/pki/applications/overview) to learn more about how to issue X.509 certificates using the intermediate CA.</Tab><Tab title="Manual">Select **Manual** and press **Continue**. This option allows you to sign the intermediate CA certificate using an external root CA that you manage outside of Infisical.@@ -114,7 +106,7 @@ consisting of an (optional) root CA and an intermediate CA.Press **Install** to import the certificate and certificate chain as part of the installation step for the intermediate CA.You've successfully created a Private CA hierarchy with an intermediate CA chained to an external root CA.- Now check out the [Certificates section](/documentation/platform/pki/certificates/overview) to learn more about how to issue X.509 certificates using the intermediate CA.+ Now check out the [Applications section](/documentation/platform/pki/applications/overview) to learn more about how to issue X.509 certificates using the intermediate CA.</Tab><Tab title="External CA">Select **External CA (Automated)** and press **Continue**. This option connects to a third-party CA provider to handle certificate signing and renewal automatically via API.@@ -289,147 +281,33 @@ consisting of an (optional) root CA and an intermediate CA.</Tab></Tabs>-## Guide to CA Renewal--In the following steps, we explore how to renew a CA certificate.--<Note>- - If renewing an intermediate CA chained to an **Infisical CA**, Infisical will automate the process of generating a new certificate for you.- - If renewing an intermediate CA signed by an **external CA provider** (e.g., Venafi, Azure AD CS), you can configure auto-renewal to automate the process. See [Venafi auto-renewal](/documentation/platform/pki/ca/venafi#auto-renewal) or [AD CS auto-renewal](/documentation/platform/pki/ca/azure-adcs#auto-renewal-for-ad-cs-signed-cas).- - If renewing an intermediate CA chained to an **external parent CA via manual import**, you'll need to generate a new certificate from the external parent CA and manually import it back.-</Note>--<Tabs>- <Tab title="Infisical UI">- Head to the CA Page of the CA you wish you renew and press **Renew CA** on- the left side.  Input a new **Valid Until**- date to be used for the renewed CA certificate and press **Renew** to renew- the CA. - <Note>- The new **Valid Until** date must be within the validity period of the- parent CA.- </Note>- </Tab>- <Tab title="API">-- To renew a CA certificate, make an API request to the [Renew CA](/api-reference/endpoints/certificate-authorities/renew) API endpoint, specifying the new `notAfter` date for the CA.-- ### Sample request-- ```bash Request- curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/ca/internal/<ca-id>/renew' \- --header 'Authorization: Bearer <access-token>' \- --header 'Content-Type: application/json' \- --data-raw '{- "type": "existing",- "notAfter": "2029-06-12"- }'- ```-- ### Sample response-- ```bash Response- {- certificate: "...",- certificateChain: "...",- serialNumber: "..."- }- ```-- </Tab>-</Tabs>--## CRL Distribution Points--Every certificate issued by an internal CA embeds a CRL Distribution Point (CDP) extension that points to Infisical's managed CRL endpoint, so validators know where to fetch the revocation list.--You can register additional **mirror URLs** at the CA level (e.g., an S3 bucket or an internal HTTP server hosting a copy of your CRL). These mirrors are embedded in every certificate the CA issues, alongside the Infisical-managed URL, so that validators have fallback locations if the primary endpoint is unreachable.--- The Infisical-managed URL is always included as the primary CDP and cannot be removed.-- Up to **4 mirror URLs** can be configured per CA.-- URLs must use `http://` or `https://`.-- Changes apply only to certificates issued **after** the update, existing certificates are not affected.--<Warning>- Infisical only **advertises** the mirror URLs in issued certificates, it does not publish your CRL to them. You are responsible for fetching the latest CRL from Infisical and serving an up-to-date copy at every mirror URL you register. If a mirror serves a stale CRL, validators that fall back to it will get outdated revocation information and may continue to trust certificates you have already revoked.-</Warning>--<Tabs>- <Tab title="Infisical UI">- Mirror URLs can be configured at CA creation time or any time after via the **CRL Distribution Points** card on the CA detail page.-- To add or edit mirrors on an existing CA, head to the CA detail page and press the pencil icon on the **CRL Distribution Points** card. Add one URL per row, in order of preference (clients try them in the listed order).-- - </Tab>- <Tab title="API">- Pass the `crlDistributionPointUrls` array under `configuration` when creating or updating an internal CA.-- ### Sample create-- ```bash Request- curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/ca/internal' \- --header 'Authorization: Bearer <access-token>' \- --header 'Content-Type: application/json' \- --data-raw '{- "projectId": "<your-project-id>",- "name": "my-internal-ca",- "configuration": {- "type": "root",- "commonName": "My Root CA",- "keyAlgorithm": "RSA_2048",- "crlDistributionPointUrls": [- "https://crl.example.com/internal-ca.crl",- "https://backup-crl.example.com/internal-ca.crl"- ]- }- }'- ```-- ### Sample update-- ```bash Request- curl --location --request PATCH 'https://app.infisical.com/api/v1/cert-manager/ca/internal/<ca-id>' \- --header 'Authorization: Bearer <access-token>' \- --header 'Content-Type: application/json' \- --data-raw '{- "configuration": {- "crlDistributionPointUrls": [- "https://crl.example.com/internal-ca.crl"- ]- }- }'- ```- </Tab>-</Tabs>--### Keeping mirrors in sync--Infisical regenerates each CA's CRL automatically, CRLs are rebuilt whenever a certificate is revoked or the existing CRL is approaching its `nextUpdate` time. To keep your mirrors useful, you should pull the latest CRL on a schedule and republish it at each mirror URL.--Fetch the current CRL for a CA:--```bash Request-curl --location --request GET 'https://app.infisical.com/api/v1/cert-manager/ca/internal/<ca-id>/crls' \- --header 'Authorization: Bearer <access-token>'-```--The response contains the PEM-encoded CRL, write it to your mirror destination using your preferred sync method. Run this on a cron schedule that's well within the CRL validity window, every few hours is a reasonable default, so mirrors never serve a stale or expired CRL to validators.-## FAQ<AccordionGroup>- <Accordion title="What key algorithms are supported as part of private key generation and certificate signing?">- Infisical supports `RSA 2048`, `RSA 4096`, `ECDSA P-256`, `ECDSA P-384` key- algorithms specified at the time of creating a CA.- </Accordion>- <Accordion title="Does Infisical support CA renewal via new key pair">- At the moment, Infisical only supports CA renewal via same key pair. We- anticipate supporting CA renewal via new key pair in the coming month.+ <Accordion title="What key algorithms are supported?">+ Infisical supports `RSA 2048`, `RSA 4096`, `ECDSA P-256`, `ECDSA P-384` key algorithms specified at the time of creating a CA.</Accordion><Accordion title="Does Infisical support chaining an Intermediate CA to an external CA?">- Yes. You can either manually obtain a CSR and import the signed certificate, or use an integrated external CA provider- like [Venafi TLS Protect Cloud](/documentation/platform/pki/ca/venafi) or [Azure AD CS](/documentation/platform/pki/ca/azure-adcs#signing-internal-intermediate-cas-with-ad-cs) to automate the signing process.+ Yes. You can either manually obtain a CSR and import the signed certificate, or use an integrated external CA provider like [Venafi TLS Protect Cloud](/documentation/platform/pki/ca/venafi) or [Azure AD CS](/documentation/platform/pki/ca/azure-adcs#signing-internal-intermediate-cas-with-ad-cs) to automate the signing process.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="CA Renewal" icon="arrows-rotate" href="/documentation/platform/pki/ca/ca-renewal">+ Renew your CA certificates before they expire.+ </Card>+ <Card title="CRL Distribution Points" icon="list" href="/documentation/platform/pki/ca/crl-distribution">+ Configure CRL mirrors for high availability.+ </Card>+</CardGroup>++<CardGroup cols={2}>+ <Card title="Certificate Profiles" icon="file-certificate" href="/documentation/platform/pki/settings/profiles">+ Link your CA to a policy and create reusable profiles.+ </Card>+ <Card title="Applications" icon="grid-2" href="/documentation/platform/pki/applications/overview">+ Set up Applications to issue certificates.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/certificate-syncs/overview.mdx b/docs/documentation/platform/pki/certificate-syncs/overview.mdxdeleted file mode 100644index bf57827469..0000000000--- a/docs/documentation/platform/pki/certificate-syncs/overview.mdx+++ /dev/null@@ -1,134 +0,0 @@-----sidebarTitle: "Overview"-description: "Learn how to sync certificates from Infisical PKI to third-party services."------Certificate Syncs enable you to push certificates from Infisical to third-party services using [App Connections](/integrations/app-connections/overview).--<Note>- Certificate Syncs are designed to automatically deploy certificates issued by- your Certificate Authority to external services, ensuring your certificates- are always up-to-date across your infrastructure.-</Note>--## Concept--Certificate Syncs are a project-level resource used to push certificates, via an [App Connection](/integrations/app-connections/overview), from Infisical-to a third-party service (destination). When paired with [server-side auto-renewal](/documentation/platform/pki/certificates/certificates#server-driven-certificate-renewal), renewed certificates are automatically synced to the destination,-ensuring your certificates stay current.--<br />--<div align="center">-- ```mermaid- %%{init: {'flowchart': {'curve': 'linear'} } }%%- graph LR- A[App Connection]- B[Certificate Sync]- C[Certificate 1]- D[Certificate 2]- E[Certificate 3]- F[Third-Party Service]- G[Certificate 1]- H[Certificate 2]- I[Certificate 3]-- B --> A- C --> B- D --> B- E --> B- A --> F- F --> G- F --> H- F --> I-- classDef default fill:#ffffff,stroke:#666,stroke-width:2px,rx:10px,color:black- classDef connection fill:#FFF2B2,stroke:#E6C34A,stroke-width:2px,color:black,rx:15px- classDef certificate fill:#E6F4FF,stroke:#0096D6,stroke-width:2px,color:black,rx:15px- classDef sync fill:#F4FFE6,stroke:#96D600,stroke-width:2px,color:black,rx:15px- classDef service fill:#E6E6FF,stroke:#6B4E96,stroke-width:2px,color:black,rx:15px- classDef subscriber fill:#FFE6E6,stroke:#D63F3F,stroke-width:2px,color:black,rx:15px-- class A connection- class B sync- class C,D,E,G,H,I certificate- class F service- class J subscriber- ```--</div>--## Workflow--Configuring a Certificate Sync requires three components: The certificates that you'd like to push,-a <strong>destination</strong> endpoint to deploy certificates to, and <strong>configuration options</strong> to determine how your certificates-should be synced. Follow these steps to start syncing:--<Note>- For step-by-step guides on syncing to a particular third-party service, refer- to the Certificate Syncs section in the Navigation Bar.-</Note>--1. <strong>Create App Connection:</strong> If you have not already done so, create- an [App Connection](/integrations/app-connections/overview) via the UI or API- for the third-party service you intend to sync certificates to.--2. <strong>Create Certificate Sync:</strong> Configure a Certificate Sync in the- desired project by specifying the following parameters via the UI or API:-- - <strong>Destination:</strong> The App Connection to utilize and the destination- endpoint to deploy certificates to such as [AWS Certificate Manager](/documentation/platform/pki/certificate-syncs/aws-certificate-manager),- [Azure Key Vault](/documentation/platform/pki/certificate-syncs/azure-key-vault), or [Cloudflare Custom Certificate](/documentation/platform/pki/certificate-syncs/cloudflare-custom-certificate).- - <strong>Certificates:</strong> The certificates you wish to push to the destination.- - <strong>Options:</strong> Customize how certificates should be synced, including:- - Whether certificates should be removed from the destination when they expire.- - Whether to include the Root CA certificate in the certificate chain.- - Certificate naming schema to control how certificate names are generated in- the destination.--<Note>- Only certificates managed by Infisical will be affected during sync- operations. Certificates not created or managed by Infisical will remain- untouched, and changes made to Infisical-managed certificates directly in the- destination service may be overwritten by future syncs.-</Note>--<Info>- Some third-party services do not support removing expired certificates- automatically.-</Info>--3. <strong>Utilize Sync:</strong> Selected certificates will now be pushed to the- destination endpoint and automatically redeployed whenever they are renewed.--<Note>- Infisical is continuously expanding its Certificate Sync third-party service- support. If the service you need isn't available, contact us at- [email protected] to make a request.-</Note>--## Certificate Naming--Certificate Syncs support flexible certificate naming through configurable naming schemas. This allows you to customize how certificate names appear in your destination services.--### Default Naming--By default, certificates are named using the pattern `Infisical-{certificateId}` where `{certificateId}` is the unique identifier of the certificate with hyphens removed for compatibility with services like Azure Key Vault.--### Custom Naming Schema--You can customize certificate naming by providing a **Certificate Name Schema** when creating or updating a Certificate Sync. The schema supports the following placeholders:--- `{{certificateId}}` - The unique certificate identifier (required)--**Examples:**--- `myapp-{{certificateId}}` → `myapp-abc123def456`-- `ssl/{{certificateId}}` → `ssl/abc123def456`--**Rules:**--- Must include exactly one `{{certificateId}}` placeholder-- Only alphanumeric characters, dashes (-), underscores (\_), and slashes (/) are allowed-- Certificate names matching your schema will be managed by Infisical during sync operationsdiff --git a/docs/documentation/platform/pki/certificates/certificates.mdx b/docs/documentation/platform/pki/certificates/certificates.mdxdeleted file mode 100644index 573adbf192..0000000000--- a/docs/documentation/platform/pki/certificates/certificates.mdx+++ /dev/null@@ -1,349 +0,0 @@-----title: "Certificates"-sidebarTitle: "Certificates"------<Note>- PKI architecture is a complex topic and there are many ways to orchestrate- certificate management including renewal operations. For specific guidance and- access to enterprise features, we recommend reaching out to- [email protected] to schedule a demo.-</Note>--## Concept--A certificate is the (X.509) leaf certificate issued for a certificate profile.--Once issued, a certificate is kept track of in the certificate inventory-where you can manage various aspects of its lifecycle including deployment to cloud key stores, server-side auto-renewal behavior, revocation, and more.--## Guide to Viewing Certificate Details--You can view comprehensive details for any certificate by clicking on it in the certificates table. This opens the certificate details page where you can see all certificate information and perform management actions.----### Certificate Information--The details page displays:--- **Overview**: Common name, friendly name, status badge, serial number, and validity period. Dates are shown in UTC with local time available on hover.-- **Issuance**: The issuing Certificate Authority (with link to CA details), certificate profile used, and renewal chain showing if the certificate was renewed from or has been renewed by another certificate.-- **Subject Attributes**: Full distinguished name components including Organization, Organizational Unit, Country, State, Locality, and Subject Alternative Names.-- **Extensions**: Basic constraints (CA flag and path length), Key Usage flags, and Extended Key Usage purposes.-- **Cryptographic Info**: Key algorithm, signature algorithm, and certificate fingerprints (SHA-256 and SHA-1).--### Certificate Metadata--Certificates and certificate requests support custom key-value metadata that can be used to organize and track additional information.--- **At issuance**: You can attach metadata key-value pairs when issuing a certificate or creating a certificate request through the issuance modal.-- --- **On the details page**: After issuance, certificate metadata can be viewed and edited from the certificate details page. Certificate request metadata is read-only after creation.-- --- **Filtering**: You can filter the certificates and certificate requests list views by metadata key-value pairs.-- --<Note>- When a certificate is renewed, its metadata is automatically carried over to the renewed certificate.-</Note>--### Managing Certificates--From the certificate details page, you can perform various actions using the **Options** dropdown menu:--- **Export Certificate**: Download the certificate in PEM or PKCS12 format-- **Enable/Manage Auto-Renewal**: Configure server-driven certificate renewal (available for API-enrolled certificates with server-generated keys)-- **Renew Now**: Manually trigger certificate renewal-- **Manage PKI Syncs**: Configure destinations to sync the certificate to cloud key stores-- **Revoke Certificate**: Revoke the certificate with a specified reason-- **Delete Certificate**: Permanently remove the certificate from the inventory--## Guide to Issuing Certificates--To [issue a certificate](/documentation/platform/pki/concepts/certificate-lifecycle#enrollment-request-%2F-issuance), you must first create a [certificate profile](/documentation/platform/pki/certificates/profiles) and a [certificate policy](/documentation/platform/pki/certificates/policies) to go along with it.--- Self-Signed Certificates: To issue a [self-signed certificate](https://en.wikipedia.org/wiki/Self-signed_certificate), you must configure the certificate profile to use the `Self-Signed` issuer type. You can then use the [API enrollment method](/documentation/platform/pki/enrollment-methods/api) to request a self-signed certificate against it.-- CA-Issued Certificates: To issue a certificate from a certificate authority, you must configure the certificate profile to use the `Certificate Authority` issuer type and select the [issuing CA](/documentation/platform/pki/ca/overview) to use. You can then use one of the [enrollment methods](/documentation/platform/pki/enrollment-methods/overview) to request a certificate against it.--<Tabs>- <Tab title="Infisical UI">- <Steps>- <Step title="Issue a certificate">- To issue a certificate, navigate to your Project > Certificates > Certificate Requests and click **Request**.-- -- Select the certificate profile and choose the **Request Method**:- - **Managed**: Infisical generates and manages the private key for you. Fill out the subject attributes, SANs, algorithms, and other certificate details.- - **CSR (Certificate Signing Request)**: Provide your own CSR when you need to manage your private key externally. The certificate will be issued using the subject information and public key contained in your CSR. See [Issue a Certificate with CSR](/documentation/platform/pki/guides/request-cert-csr) for more details.-- -- When using the **CSR** method, paste your PEM-encoded Certificate Signing Request into the text area and specify the TTL:-- -- <Note>- When using a CSR, the subject attributes, subject alternative names, and key algorithm are extracted from your CSR. You only need to specify the TTL for the certificate. The CSR must be a valid PEM-encoded PKCS#10 request.- </Note>- </Step>- </Steps>- </Tab>- <Tab title="API">- To issue certificates via API, refer to the [API enrollment method](/documentation/platform/pki/enrollment-methods/api) documentation.- </Tab>-</Tabs>--## Guide to Renewing Certificates--To [renew a certificate](/documentation/platform/pki/concepts/certificate-lifecycle#renewal), you can either request a new certificate from a certificate profile or have the platform-automatically request a new one for you to be delivered downstream to a target destination. Whether you pursue a client-driven or server-driven approach is totally dependent on the enrollment method configured on your certificate-profile as well as your infrastructure use-case.--### Client-Driven Certificate Renewal--Client-driven certificate renewal is when renewal is initiated client-side by the end-entity consuming the certificate.-More specifically, the client (e.g. [Infisical Agent](/integrations/platforms/certificate-agent), [ACME client](https://letsencrypt.org/docs/client-options/), etc.) monitors the certificate and makes a request for Infisical to issue a new certificate back to it when the existing certificate is nearing expiration. This is the most common approach to certificate renewal and is suitable for most use-cases.--### Server-Driven Certificate Renewal--Server-driven certificate renewal is when renewal is initiated server-side by Infisical rather than by the end-entity consuming the certificate.-When a certificate considered for auto-renewal meets a specified _renewal days before expiration_ threshold, Infisical reaches out to the issuing CA bound to the [certificate profile](/documentation/platform/pki/certificates/profiles) of the expiring certificate-to request for a new one.-The resulting renewed certificate is stored in the platform and made available to be fetched back or pushed downstream to end-entities or external systems such as cloud key stores.--Note that server-driven certificate renewal is only available for certificates issued via the [API enrollment method](/documentation/platform/pki/enrollment-methods/api) where key pairs are generated server-side.-A certificate can be considered for auto-renewal at time of issuance if the **Enable Auto-Renewal By Default** option is selected on its [certificate profile](/documentation/platform/pki/certificates/profiles) or after issuance by toggling this option manually.--<Info>- For server-driven certificate renewal workflows, you can programmatically- fetch the latest active certificate bundle for a certificate profile using the- [Get Latest Active Certificate- Bundle](/api-reference/endpoints/certificate-profiles/get-latest-active-bundle)- API endpoint. This ensures you always retrieve the most current valid- certificate, including any that have been automatically renewed, making it- particularly useful for deployment pipelines and automation workflows where- you don't want to track individual serial numbers.-</Info>--The following examples demonstrate different approaches to certificate renewal:--- Using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme), you may connect an ACME client like [certbot](https://certbot.eff.org/) to fetch back and renew certificates for [Apache](/documentation/platform/pki/integration-guides/apache-certbot), [Nginx](/documentation/platform/pki/integration-guides/nginx-certbot), or other server. The ACME client will pursue a client-driven approach and submit certificate requests upon certificate expiration for you, saving renewed certificates back to the server's configuration.-- Using the [ACME enrollment method](/documentation/platform/pki/enrollment-methods/acme), you may use [cert-manager](https://cert-manager.io/) with Infisical to issue and renew certificates for Kubernetes workloads; cert-manager will pursue a client-driven approach and submit certificate requests upon certificate expiration for you, saving renewed certificates back to Kubernetes secrets.-- Using the [API enrollment method](/documentation/platform/pki/enrollment-methods/api), you may push and auto-renew certificates to AWS and Azure using [certificate syncs](/documentation/platform/pki/certificate-syncs/overview). Certificates issued over the API enrollment method, where key pairs are generated server-side, are also eligible for server-side auto-renewal; once renewed, certificates are automatically pushed back to their sync destination.--## Guide to Downloading Certificates--In the following steps, we explore different options for exporting already-issued certificates from Infisical in different formats for use in your applications and infrastructure.--### Download Latest Profile Certificate--You can download the latest certificate issued against a [certificate profile](/documentation/platform/pki/certificates/profiles) using the [latest certificate bundle](/api-reference/endpoints/certificate-profiles/get-latest-active-bundle) endpoint.--### Download Specific Certificate--To export a specific certificate, first navigate to your project's certificate inventory and locate the certificate you want to export. Click on the **Export Certificate** option from the certificate's action menu.----<Tabs>- <Tab title="PEM Format">- <Steps>- <Step title="Exporting in PEM Format">- In the export modal, choose **PEM** as the format and click **Export**.-- -- The PEM export modal will display the certificate details including:- - **Serial Number**: The unique identifier for the certificate- - **Certificate Body**: The X.509 certificate in PEM format- - **Certificate Chain**: The intermediate and root CA certificates- - **Private Key**: The private key associated with the certificate (if available)-- -- You can copy each component individually or use the **Copy All** button to copy the complete certificate bundle.- </Step>- <Step title="Using PEM Certificates">- PEM format certificates can be used directly with most web servers and applications:-- - **Apache HTTP Server**: Configure SSL certificates in your virtual host- - **Nginx**: Use the certificate and private key files in your server configuration- - **Docker containers**: Mount certificate files for TLS-enabled applications- - **Load balancers**: Upload PEM certificates to AWS ALB, Azure Application Gateway, etc.-- Example Nginx configuration:- ```nginx- server {- listen 443 ssl;- server_name example.com;-- ssl_certificate /path/to/certificate.pem;- ssl_certificate_key /path/to/private-key.pem;- }- ```- </Step>- </Steps>-- </Tab>- <Tab title="PKCS12 Format">- <Steps>- <Step title="Exporting in PKCS12 Format">- In the export modal, choose **PKCS12** as the format and provide the required configuration:-- -- - **Password**: A secure password to protect the PKCS12 keystore- - **Alias**: A friendly name for the certificate within the keystore-- Click **Export** to generate and download the `.p12` file containing the certificate, certificate chain, and private key.- </Step>- <Step title="Using PKCS12 Certificates">- PKCS12 files (`.p12` extension) are binary keystore files that contain the certificate, certificate chain, and private key in a single encrypted file:-- - **Java applications**: Import directly into Java KeyStore (JKS) or use with SSL/TLS- - **Windows IIS**: Import the PKCS12 file for web server SSL configuration- - **Browser certificates**: Install client certificates for authentication- - **Mobile applications**: Deploy certificates to iOS and Android applications-- To verify the contents of a PKCS12 file:- ```bash- openssl pkcs12 -in certificate.p12 -nokeys -clcerts- ```-- To extract the private key:- ```bash- openssl pkcs12 -in certificate.p12 -nocerts -out private-key.pem- ```-- <Info>- If you need to convert the PKCS12 file to Java KeyStore (JKS) format for applications running on Java 8 or earlier, use the following keytool command:-- ```bash- keytool -importkeystore \- -srckeystore certificate.p12 \- -srcstoretype PKCS12 \- -srcstorepass <p12-password> \- -destkeystore certificate.jks \- -deststoretype JKS \- -deststorepass <jks-password>- ```-- Replace `<p12-password>` with the password you used when exporting the PKCS12 file, and `<jks-password>` with your desired JKS keystore password.-- The resulting `.jks` file can then be used with Java applications that require JKS format keystores.- </Info>- </Step>- </Steps>-- </Tab>-</Tabs>--## Guide to Revoking Certificates--In the following steps, we explore how to revoke a X.509 certificate and obtain a Certificate Revocation List (CRL) for a CA.--<Tabs>- <Tab title="Infisical UI">-<Steps>- <Step title="Revoking a Certificate">- Assuming that you've issued a certificate under a CA, you can revoke it by- selecting the **Revoke Certificate** option for it and specifying the reason- for revocation.-- -- -- </Step>- <Step title="Obtaining a CRL">- In order to check the revocation status of a certificate, you can check it- against the CRL of a CA by heading to its Issuing CA and downloading the CRL.-- -- To verify a certificate against the- downloaded CRL with OpenSSL, you can use the following command:--```bash-openssl verify -crl_check -CAfile chain.pem -CRLfile crl.pem cert.pem-```--Note that you can also obtain the CRL from the certificate itself by-referencing the CRL distribution point extension on the certificate.--To check a certificate against the CRL distribution point specified within it with OpenSSL, you can use the following command:--```bash-openssl verify -verbose -crl_check -crl_download -CAfile chain.pem cert.pem-```-- </Step>-</Steps>- </Tab>- <Tab title="API">- <Steps>- <Step title="Revoking a certificate">- Assuming that you've issued a certificate under a CA, you can revoke it by making an API request to the [Revoke Certificate](/api-reference/endpoints/certificates/revoke) API endpoint,- specifying the serial number of the certificate and the reason for revocation.-- ### Sample request-- ```bash Request- curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/certificates/<cert-id>/revoke' \- --header 'Authorization: Bearer <access-token>' \- --header 'Content-Type: application/json' \- --data-raw '{- "revocationReason": "UNSPECIFIED"- }'- ```-- ### Sample response-- ```bash Response- {- message: "Successfully revoked certificate",- serialNumber: "...",- revokedAt: "..."- }- ```- </Step>- <Step title="Obtaining a CRL">- In order to check the revocation status of a certificate, you can check it against the CRL of the issuing CA.- To obtain the CRLs of the CA, make an API request to the [List CRLs](/api-reference/endpoints/certificate-authorities/crl) API endpoint.-- ### Sample request-- ```bash Request- curl --location --request GET 'https://app.infisical.com/api/v1/cert-manager/ca/internal/<ca-id>/crls' \- --header 'Authorization: Bearer <access-token>'- ```-- ### Sample response-- ```bash Response- [- {- id: "...",- crl: "..."- },- ...- ]- ```-- To verify a certificate against the CRL with OpenSSL, you can use the following command:-- ```bash- openssl verify -crl_check -CAfile chain.pem -CRLfile crl.pem cert.pem- ```- </Step>- </Steps>-- </Tab>-</Tabs>diff --git a/docs/documentation/platform/pki/certificates/overview.mdx b/docs/documentation/platform/pki/certificates/overview.mdxindex d1e36327cb..eacc324075 100644--- a/docs/documentation/platform/pki/certificates/overview.mdx+++ b/docs/documentation/platform/pki/certificates/overview.mdx@@ -1,17 +1,31 @@----title: "Overview"+title: "Certificates Overview"sidebarTitle: "Overview"+description: "Issue and manage X.509 certificates with Infisical."----To issue a certificate with Infisical, you create a certificate profile and a certificate policy to go along with it. You then issue a certificate against-a specific profile depending on the enrollment method associated with it.+<Warning>+ This page has moved. Certificate issuance is now done through [Applications](/documentation/platform/pki/applications/overview).+</Warning>-There are four components to understand:+To issue certificates with Infisical, you need:-- [Certificate Profile](/documentation/platform/pki/certificates/profiles): A configuration set specifying how certificates should be issued under that profile including the [issuing CA](/documentation/platform/pki/ca/overview), a certificate policy, and the [enrollment method](/documentation/platform/pki/enrollment-methods/overview) (such as ACME, EST, API, etc.) used to enroll certificates.+1. **Certificate Authority** — A CA to issue certificates from. See [Certificate Authorities](/documentation/platform/pki/ca/overview).+2. **Certificate Policy** — Rules for what certificates can contain. See [Certificate Policies](/documentation/platform/pki/settings/policies).+3. **Certificate Profile** — Combines a CA with a policy. See [Certificate Profiles](/documentation/platform/pki/settings/profiles).+4. **Application** — The resource where teams issue certificates. See [Applications](/documentation/platform/pki/applications/overview).-- [Certificate Policy](/documentation/platform/pki/certificates/policies): A policy structure specifying the permitted attributes for requested certificates including subject naming conventions, SAN fields, key usages, and extended key usages.--- [Approval Policy](/documentation/platform/pki/approvals): An optional approval workflow requiring human review before certificates are issued. Approval policies can enforce multi-step review processes with configurable approvers for each step.--- [Certificate](/documentation/platform/pki/certificates/certificates): The actual X.509 certificate issued for a profile. Once issued, a certificate kept track of in the certificate inventory.+<CardGroup cols={2}>+ <Card title="Applications" icon="grid-2" href="/documentation/platform/pki/applications/overview">+ Issue and manage certificates for your services.+ </Card>+ <Card title="Enrollment Methods" icon="plug" href="/documentation/platform/pki/applications/enrollment-methods/overview">+ Configure how certificates are requested.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View, renew, and revoke certificates.+ </Card>+ <Card title="Getting Started" icon="rocket" href="/documentation/platform/pki/getting-started">+ New to Certificate Manager? Start here.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/certificates/policies.mdx b/docs/documentation/platform/pki/certificates/policies.mdxdeleted file mode 100644index 223cc9f610..0000000000--- a/docs/documentation/platform/pki/certificates/policies.mdx+++ /dev/null@@ -1,58 +0,0 @@-----title: "Certificate Policies"-sidebarTitle: "Policies"------## Concept--A certificate policy is a policy structure specifying permitted attributes for requested certificates. This includes constraints around subject naming conventions, SAN fields, key usages, and extended key usages.--Each certificate requested against a [certificate profile](/documentation/platform/pki/certificates/profiles) is validated against the policy bound to that profile. If the request fails any criteria included in the policy, the certificate is not issued. This helps administrators enforce uniformity and security standards across all issued certificates.--## Guide to Creating a Certificate Policy--To create a certificate policy, head to your Certificate Management Project > Certificate Manager > Certificate Policies and press **Create Policy**.------Here's some guidance on each field:--- Policy Name: A slug-friendly name for the policy such as `tls-server`.-- Description: An optional description for the policy.-- Subject Attributes: A list of X.509 distinguished name attributes that can be included in the certificate subject. The supported attribute types are:-- | Attribute | Abbreviation |- |---|---|- | Common Name | CN |- | Organization | O |- | Organizational Unit | OU |- | Country | C |- | State/Province | ST |- | Locality | L |-- For each attribute, you can configure one or more enforcement modes:-- - **Require**: Values that must be present in the certificate request. The request is rejected if the attribute is missing or does not match the required pattern.- - **Allow**: Values that are permitted but not required. Accepts a fixed value or wildcard pattern such as `example.com` or `*.example.com`.- - **Deny**: Values that must not appear. The request is rejected if the attribute matches a denied pattern.-- <Note>- Any subject attribute included in a certificate request that is not explicitly defined in the policy will be rejected. If no subject attribute rules are defined at all, any request containing subject attributes will be rejected.- </Note>-- Subject Alternative Names (SANs): A list of SANs that can appear in the certificate. Each row accepts a SAN type (e.g. DNS, IP, Email, URI), a fixed value or pattern such as `example.com` or `*.example.com`, and an allow or deny flag.-- Allowed Signature Algorithms: The set of signature algorithms permitted to sign certificates under this policy such as `SHA256-RSA`, `SHA512-RSA`, etc.-- Allowed Key Algorithms: The set of public key algorithms permitted for certificate requests such as `RSA-2048`, `RSA-4096`, etc.-- Key Usages: The cryptographic purposes of the certificate such as Digital Signature, Key Encipherment, etc.-- Extended Key Usages: The higher-level intended uses of the certificate such as Server Authentication, Client Authentication, etc.-- Certificate Validity: The maximum lifetime of certificates that can be requested for certificates validated against this policy. You can specify both a duration and unit (days, months, or years).-- Basic Constraints: Defines the role of a certificate within a trust hierarchy.- - **CA Certificate Property**: Determines if a certificate is permitted to sign and issue other certificates if `CA:TRUE` property is set. Options are:- - **Forbid**: Issued certificates are restricted to "End-Entity" use. They cannot sign other certificates.- - **Allow**: Certificates may be issued as either a CA or an End-Entity based on the specific signing request.- - **Require**: Mandates that all issued certificates act as CAs. This is typically used for Root or Intermediate CA policies.- - **Maximum Allowed Path Length**: Specifies the maximum number of non-self-issued intermediate certificates that may follow this certificate in a valid chain.- - A value of 0 means the CA can only sign final end-entity certificates.- - A value of 1 allows for one more level of CAs below it.- - Leaving this empty imposes no limit on the chain depth.diff --git a/docs/documentation/platform/pki/certificates/profiles.mdx b/docs/documentation/platform/pki/certificates/profiles.mdxdeleted file mode 100644index 31012f3808..0000000000--- a/docs/documentation/platform/pki/certificates/profiles.mdx+++ /dev/null@@ -1,49 +0,0 @@-----title: "Certificate Profiles"-sidebarTitle: "Profiles"------## Concept--A certificate profile is a configuration set specifying how leaf certificates should be issued for a group of end-entities including the [issuing CA](/documentation/platform/pki/ca/overview), a [certificate policy](/documentation/platform/pki/certificates/policies), and the [enrollment method](/documentation/platform/pki/enrollment-methods/overview) (e.g. ACME, EST, API, etc.) used to enroll certificates.--You typically request certificates against a certificate profile through its associated enrollment method. Each method defines its own interaction flow which you can read more about in its respective documentation.--## Guide to Creating a Certificate Profile--To create a certificate profile, head to your Certificate Management Project > Certificates > Certificate Profiles and press **Create Profile**.------Here's some guidance on each field:--- Name: A slug-friendly name for the profile such as `web-servers`.-- Description: An optional description for the profile.-- Issuer Type: The type of issuer that should be used to issue certificates for the profile; this can be either `Certificate Authority` or `Self-Signed`. If `Self-Signed` is selected, then the profile will only support the API enrollment method and be used to issue self-signed certificates over REST API.-- Issuing CA: The [issuing CA](/documentation/platform/pki/ca/overview) that should be used to issue certificates for the profile when the **Issuer Type** is set to `Certificate Authority`.-- Certificate Policy: The [certificate policy](/documentation/platform/pki/certificates/policies) that should be used to validate certificate requests for the profile.-- Enrollment Method: The enrollment method that should be used to enroll certificates for the profile such as ACME, EST, API, etc. Depending on which enrollment method you choose, you may be presented with additional enrollment-specific configuration fields.--The profile form also has a separate **Certificate Details** tab where you can pre-configure certificate values that are applied when a requester does not specify them. See [Profile Defaults](#profile-defaults) below for more details.--## Profile Defaults--Requesting a certificate involves choosing a key algorithm, signature algorithm, key usages, subject attributes, and more. For users who are not familiar with these options, this can feel overwhelming. Profile defaults let administrators pre-configure sensible values so that requesters can issue certificates without needing to make every decision themselves. If a requester does not know what to pick, they can simply go with whatever the administrator has already set.--Defaults are automatically applied to any certificate request that does not explicitly specify those values. If a requester does provide a value, it takes precedence over the default. In the UI, defaults are pre-selected in the certificate request form. For non-UI flows such as API, EST, or ACME, the requester does not need to pass those values in the request at all — the defaults are applied automatically.----### Combining Defaults with Policies--For the simplest possible requester experience, pair defaults with a tightly scoped [certificate policy](/documentation/platform/pki/certificates/policies). By narrowing the policy down so that only one option is allowed for each field and then setting that option as the default, the requester has nothing left to decide — the profile handles everything automatically.--For example, if your policy only allows `RSA 4096` as the key algorithm and you set `RSA 4096` as the profile default, the requester never needs to think about key algorithms at all.--Defaults can be configured for TTL, subject attributes (Common Name, Organization, OU, Country, State, Locality), key algorithm, signature algorithm, key usages, extended key usages, and basic constraints.--<Warning>- If the certificate policy is updated after the profile is saved, the existing defaults may no longer comply with the new policy. When this drift occurs, certificate requests against the profile will fail at validation time. You will need to update the profile defaults to bring them back in line with the updated policy.-</Warning>diff --git a/docs/documentation/platform/pki/code-signing/grants.mdx b/docs/documentation/platform/pki/code-signing/grants.mdxindex 6b8e9a75c5..cb4710cf3b 100644--- a/docs/documentation/platform/pki/code-signing/grants.mdx+++ b/docs/documentation/platform/pki/code-signing/grants.mdx@@ -1,14 +1,18 @@---title: "Grants"sidebarTitle: "Grants"-description: "Learn how to view and manage signing grants."+description: "View and manage signing grants that authorize signing operations."---A grant is the authorization that allows a user or machine identity to perform signing operations with a specific signer. Grants are automatically created when a [signing request](/documentation/platform/pki/code-signing/signing-requests) is fully approved.+<Info>+ If a signer has no signing policy, grants are not required — signing is allowed immediately. Grants only come into play when a signing policy enforces approvals.+</Info>+## Viewing Grants-Head to **Code Signing > Approvals > Grants** to view all grants. You can filter by status:+Go to **Certificate Manager → Code Signing → Grants** to view all grants. You can filter by status:- **Active**: Grants that are currently valid and can be used for signing.- **Expired**: Grants that have expired (time window ended, signing quota exhausted, or TTL reached).@@ -40,3 +44,14 @@ Once revoked, the grant can no longer be used for signing operations. The user mIf a signing operation is already being processed when the grant is revoked, the operation will complete. Subsequent signing attempts with the revoked grant will be denied.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="PKCS#11 Module" icon="plug" href="/documentation/platform/pki/code-signing/pkcs11-module">+ Use your grant with standard signing tools.+ </Card>+ <Card title="Signing Guides" icon="book" href="/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner">+ Step-by-step guides for specific tools.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/guides/pkcs11-apksigner.mdx b/docs/documentation/platform/pki/code-signing/guides/pkcs11-apksigner.mdxindex 03942516bf..0f9bd2aa3d 100644--- a/docs/documentation/platform/pki/code-signing/guides/pkcs11-apksigner.mdx+++ b/docs/documentation/platform/pki/code-signing/guides/pkcs11-apksigner.mdx@@ -4,14 +4,18 @@ sidebarTitle: "apksigner"description: "Use the Infisical PKCS#11 module to sign Android APK and AAB files with apksigner."----In the following steps, we explore how to sign Android APK and Android App Bundle (AAB) files using `apksigner` with the Infisical PKCS#11 module. Since `apksigner` is a Java-based tool, it uses the same SunPKCS11 provider approach as jarsigner.+<Info>+ This guide assumes your Product Admin has already created a [Signer](/documentation/platform/pki/code-signing/signers) and assigned you to it. If the signer has a signing policy, you'll also need an approved [grant](/documentation/platform/pki/code-signing/grants) before signing.+</Info>++Sign Android APK and Android App Bundle (AAB) files using `apksigner` with the Infisical PKCS#11 module. Since `apksigner` is a Java-based tool, it uses the same SunPKCS11 provider approach as jarsigner.## Prerequisites-- An Infisical project with a [signer](/documentation/platform/pki/code-signing/signers) configured-- An active [signing grant](/documentation/platform/pki/code-signing/grants) for the signer+- A [Signer](/documentation/platform/pki/code-signing/signers) created by your Product Admin+- An active [signing grant](/documentation/platform/pki/code-signing/grants) (if a signing policy is attached)- A [machine identity](/documentation/platform/identities/machine-identities) with Universal Auth and `Sign` permission on the signer-- The Infisical PKCS#11 module [installed and configured](/documentation/platform/pki/code-signing/pkcs11-module)+- The Infisical [PKCS#11 module](/documentation/platform/pki/code-signing/pkcs11-module) installed and configured- Android SDK Build Tools 30.0.0 or later (includes `apksigner`)## Step 1: Create the SunPKCS11 Provider Configuration@@ -122,3 +126,14 @@ For any issue, enable debug logging in your config file (`"log_level": "debug"`,Use `apksigner` (not `jarsigner`) for APK signing. Only `apksigner` applies v2/v3 APK signature schemes.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Sign JARs" icon="java" href="/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner">+ Sign Java artifacts with jarsigner+ </Card>+ <Card title="Sign Windows Binaries" icon="windows" href="/documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode">+ Sign Windows executables with osslsigncode+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/guides/pkcs11-cosign.mdx b/docs/documentation/platform/pki/code-signing/guides/pkcs11-cosign.mdxindex 914f17d8b0..5b81a45ed9 100644--- a/docs/documentation/platform/pki/code-signing/guides/pkcs11-cosign.mdx+++ b/docs/documentation/platform/pki/code-signing/guides/pkcs11-cosign.mdx@@ -4,14 +4,18 @@ sidebarTitle: "cosign"description: "Use the Infisical PKCS#11 module to sign OCI container images with Sigstore cosign."----In the following steps, we explore how to sign OCI container images using `cosign` (from the Sigstore project) with the Infisical PKCS#11 module. Container image signing is a critical part of securing software supply chains. It lets you verify that images in your registry were built by trusted pipelines.+<Info>+ This guide assumes your Product Admin has already created a [Signer](/documentation/platform/pki/code-signing/signers) and assigned you to it. If the signer has a signing policy, you'll also need an approved [grant](/documentation/platform/pki/code-signing/grants) before signing.+</Info>++Sign OCI container images using `cosign` (from the Sigstore project) with the Infisical PKCS#11 module. Container image signing is a critical part of securing software supply chains — it lets you verify that images in your registry were built by trusted pipelines.## Prerequisites-- An Infisical project with a [signer](/documentation/platform/pki/code-signing/signers) configured-- An active [signing grant](/documentation/platform/pki/code-signing/grants) for the signer+- A [Signer](/documentation/platform/pki/code-signing/signers) created by your Product Admin+- An active [signing grant](/documentation/platform/pki/code-signing/grants) (if a signing policy is attached)- A [machine identity](/documentation/platform/identities/machine-identities) with Universal Auth and `Sign` permission on the signer-- The Infisical PKCS#11 module [installed and configured](/documentation/platform/pki/code-signing/pkcs11-module)+- The Infisical [PKCS#11 module](/documentation/platform/pki/code-signing/pkcs11-module) installed and configured- `cosign` v2.0 or later, **built with PKCS#11 support** (see below)- Write access to an OCI-compatible container registry@@ -167,3 +171,14 @@ For any issue, enable debug logging in your config file (`"log_level": "debug"`,Ensure the PKCS#11 URI includes both `token` and `object` fields matching your signer name, and that `COSIGN_PKCS11_MODULE_PATH` is set to the absolute path of the module. Use `cosign pkcs11-tool list-keys-uris` to find the correct URI.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Sign JARs" icon="java" href="/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner">+ Sign Java artifacts with jarsigner+ </Card>+ <Card title="Sign with GPG" icon="key" href="/documentation/platform/pki/code-signing/guides/pkcs11-gpg">+ Sign git commits and packages with GPG+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/guides/pkcs11-gpg.mdx b/docs/documentation/platform/pki/code-signing/guides/pkcs11-gpg.mdxindex 85ee4f73fa..a121e52c80 100644--- a/docs/documentation/platform/pki/code-signing/guides/pkcs11-gpg.mdx+++ b/docs/documentation/platform/pki/code-signing/guides/pkcs11-gpg.mdx@@ -4,14 +4,18 @@ sidebarTitle: "GPG"description: "Use the Infisical PKCS#11 module with GnuPG to sign git commits, tags, and packages."----In the following steps, we explore how to use GnuPG with the Infisical PKCS#11 module via `gnupg-pkcs11-scd`. This enables signing git commits and tags, RPM/DEB packages, and any other artifact that uses GPG signatures, all backed by keys stored securely in Infisical.+<Info>+ This guide assumes your Product Admin has already created a [Signer](/documentation/platform/pki/code-signing/signers) and assigned you to it. If the signer has a signing policy, you'll also need an approved [grant](/documentation/platform/pki/code-signing/grants) before signing.+</Info>++Use GnuPG with the Infisical PKCS#11 module via `gnupg-pkcs11-scd` to sign git commits and tags, RPM/DEB packages, and any other artifact that uses GPG signatures — all backed by keys stored securely in Infisical.## Prerequisites-- An Infisical project with a [signer](/documentation/platform/pki/code-signing/signers) configured (RSA keys recommended for GPG compatibility)-- An active [signing grant](/documentation/platform/pki/code-signing/grants) for the signer+- A [Signer](/documentation/platform/pki/code-signing/signers) created by your Product Admin (RSA keys recommended for GPG compatibility)+- An active [signing grant](/documentation/platform/pki/code-signing/grants) (if a signing policy is attached)- A [machine identity](/documentation/platform/identities/machine-identities) with Universal Auth and `Sign` permission on the signer-- The Infisical PKCS#11 module [installed and configured](/documentation/platform/pki/code-signing/pkcs11-module)+- The Infisical [PKCS#11 module](/documentation/platform/pki/code-signing/pkcs11-module) installed and configured- GnuPG 2.2 or later- `gnupg-pkcs11-scd` (the PKCS#11 smart card daemon bridge)@@ -215,3 +219,14 @@ For any issue, enable debug logging in your config file (`"log_level": "debug"`,GPG has limited ECDSA curve support via PKCS#11. RSA keys (2048, 3072, 4096) are recommended for GPG signing.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Sign Containers" icon="docker" href="/documentation/platform/pki/code-signing/guides/pkcs11-cosign">+ Sign container images with Cosign+ </Card>+ <Card title="Sign Windows Binaries" icon="windows" href="/documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode">+ Sign Windows executables with osslsigncode+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner.mdx b/docs/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner.mdxindex a1b8220f59..d259e9f22a 100644--- a/docs/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner.mdx+++ b/docs/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner.mdx@@ -4,14 +4,18 @@ sidebarTitle: "jarsigner"description: "Use the Infisical PKCS#11 module to sign Java artifacts with jarsigner."----In the following steps, we explore how to sign Java JAR files using `jarsigner` with the Infisical PKCS#11 module. The module implements the PKCS#11 v2.40 standard, allowing standard signing tools to use Infisical signers without code changes.+<Info>+ This guide assumes your Product Admin has already created a [Signer](/documentation/platform/pki/code-signing/signers) and assigned you to it. If the signer has a signing policy, you'll also need an approved [grant](/documentation/platform/pki/code-signing/grants) before signing.+</Info>++Sign Java JAR files using `jarsigner` with the Infisical PKCS#11 module. The module implements the PKCS#11 v2.40 standard, allowing standard signing tools to use Infisical signers without code changes.## Prerequisites-- An Infisical project with a [signer](/documentation/platform/pki/code-signing/signers) configured-- An active [signing grant](/documentation/platform/pki/code-signing/grants) for the signer+- A [Signer](/documentation/platform/pki/code-signing/signers) created by your Product Admin+- An active [signing grant](/documentation/platform/pki/code-signing/grants) (if a signing policy is attached)- A [machine identity](/documentation/platform/identities/machine-identities) with Universal Auth and `Sign` permission on the signer-- The Infisical PKCS#11 module [installed and configured](/documentation/platform/pki/code-signing/pkcs11-module)+- The Infisical [PKCS#11 module](/documentation/platform/pki/code-signing/pkcs11-module) installed and configured- Java JDK 9 or later (for the `-addprovider` flag)## Step 1: Create the SunPKCS11 Provider Configuration@@ -114,6 +118,17 @@ For any issue, start by enabling debug logging in your config file to get detailThis typically means the signing request was denied by the server. Check that you have an active signing grant for the signer. You can verify this in the Infisical UI under **Code Signing > Approvals > Grants**.</Accordion><Accordion title="No slots visible or authentication errors">- Verify that your credentials and `project_id` are correct, and that the machine identity has been added to the project with the appropriate permissions.+ Verify that your credentials are correct and that the machine identity has been assigned to the signer with the appropriate permissions.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Sign Android APKs" icon="android" href="/documentation/platform/pki/code-signing/guides/pkcs11-apksigner">+ Sign Android applications with apksigner+ </Card>+ <Card title="Sign with OpenSSL" icon="lock" href="/documentation/platform/pki/code-signing/guides/pkcs11-openssl">+ Use OpenSSL with the PKCS#11 module+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/guides/pkcs11-openssl.mdx b/docs/documentation/platform/pki/code-signing/guides/pkcs11-openssl.mdxindex 4d4f74b0db..ed1b44a489 100644--- a/docs/documentation/platform/pki/code-signing/guides/pkcs11-openssl.mdx+++ b/docs/documentation/platform/pki/code-signing/guides/pkcs11-openssl.mdx@@ -4,14 +4,18 @@ sidebarTitle: "OpenSSL"description: "Use the Infisical PKCS#11 module with OpenSSL's pkcs11 engine for general-purpose signing."----In the following steps, we explore how to use OpenSSL with the Infisical PKCS#11 module via the `libp11` engine. OpenSSL is a versatile foundation for signing any file format. It is useful when you need raw signatures, custom signing pipelines, or integration with tools that wrap OpenSSL.+<Info>+ This guide assumes your Product Admin has already created a [Signer](/documentation/platform/pki/code-signing/signers) and assigned you to it. If the signer has a signing policy, you'll also need an approved [grant](/documentation/platform/pki/code-signing/grants) before signing.+</Info>++Use OpenSSL with the Infisical PKCS#11 module via the `libp11` engine for general-purpose signing. OpenSSL is a versatile foundation for signing any file format — useful when you need raw signatures, custom signing pipelines, or integration with tools that wrap OpenSSL.## Prerequisites-- An Infisical project with a [signer](/documentation/platform/pki/code-signing/signers) configured-- An active [signing grant](/documentation/platform/pki/code-signing/grants) for the signer+- A [Signer](/documentation/platform/pki/code-signing/signers) created by your Product Admin+- An active [signing grant](/documentation/platform/pki/code-signing/grants) (if a signing policy is attached)- A [machine identity](/documentation/platform/identities/machine-identities) with Universal Auth and `Sign` permission on the signer-- The Infisical PKCS#11 module [installed and configured](/documentation/platform/pki/code-signing/pkcs11-module)+- The Infisical [PKCS#11 module](/documentation/platform/pki/code-signing/pkcs11-module) installed and configured- OpenSSL 1.1.1 or later- `libp11` (OpenSSL PKCS#11 engine)@@ -197,3 +201,14 @@ For any issue, enable debug logging in your config file (`"log_level": "debug"`,OpenSSL 3.0 deprecated engines in favor of providers. The `libp11` engine still works but may show warnings. For a provider-based approach, use [`pkcs11-provider`](https://github.com/latchset/pkcs11-provider) instead.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Sign Windows Binaries" icon="windows" href="/documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode">+ Sign Windows executables with osslsigncode+ </Card>+ <Card title="Sign Containers" icon="docker" href="/documentation/platform/pki/code-signing/guides/pkcs11-cosign">+ Sign container images with Cosign+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode.mdx b/docs/documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode.mdxindex 3fc084cc15..affd7772b8 100644--- a/docs/documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode.mdx+++ b/docs/documentation/platform/pki/code-signing/guides/pkcs11-osslsigncode.mdx@@ -4,14 +4,18 @@ sidebarTitle: "osslsigncode"description: "Use the Infisical PKCS#11 module to sign Windows executables, DLLs, and MSI installers with osslsigncode."----In the following steps, we explore how to sign Windows Authenticode artifacts using `osslsigncode` with the Infisical PKCS#11 module. osslsigncode is a cross-platform tool that lets you sign Windows binaries from Linux and macOS, making it ideal for CI/CD pipelines that don't run on Windows.+<Info>+ This guide assumes your Product Admin has already created a [Signer](/documentation/platform/pki/code-signing/signers) and assigned you to it. If the signer has a signing policy, you'll also need an approved [grant](/documentation/platform/pki/code-signing/grants) before signing.+</Info>++Sign Windows Authenticode artifacts using `osslsigncode` with the Infisical PKCS#11 module. osslsigncode is a cross-platform tool that lets you sign Windows binaries from Linux and macOS, making it ideal for CI/CD pipelines that don't run on Windows.## Prerequisites-- An Infisical project with a [signer](/documentation/platform/pki/code-signing/signers) configured-- An active [signing grant](/documentation/platform/pki/code-signing/grants) for the signer+- A [Signer](/documentation/platform/pki/code-signing/signers) created by your Product Admin+- An active [signing grant](/documentation/platform/pki/code-signing/grants) (if a signing policy is attached)- A [machine identity](/documentation/platform/identities/machine-identities) with Universal Auth and `Sign` permission on the signer-- The Infisical PKCS#11 module [installed and configured](/documentation/platform/pki/code-signing/pkcs11-module)+- The Infisical [PKCS#11 module](/documentation/platform/pki/code-signing/pkcs11-module) installed and configured- `osslsigncode` 2.5 or later (includes native PKCS#11 support)## Step 1: Install osslsigncode and Dependencies@@ -137,3 +141,14 @@ For any issue, enable debug logging in your config file (`"log_level": "debug"`,The `-pkcs11cert` URI must match your signer name exactly. Use `pkcs11-tool --module /path/to/lib --list-objects --type cert` to verify available certificate labels.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Sign with OpenSSL" icon="lock" href="/documentation/platform/pki/code-signing/guides/pkcs11-openssl">+ General-purpose signing with OpenSSL+ </Card>+ <Card title="Sign Android APKs" icon="android" href="/documentation/platform/pki/code-signing/guides/pkcs11-apksigner">+ Sign Android applications with apksigner+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/overview.mdx b/docs/documentation/platform/pki/code-signing/overview.mdxindex efd2aa49b5..28bfcebf08 100644--- a/docs/documentation/platform/pki/code-signing/overview.mdx+++ b/docs/documentation/platform/pki/code-signing/overview.mdx@@ -4,7 +4,11 @@ sidebarTitle: "Overview"description: "Securely sign code and artifacts with centralized key management and approval workflows."----In Infisical, Code Signing lets you digitally sign software artifacts (JARs, binaries, container images, and more) while keeping private keys secure on the server. Instead of distributing signing keys to developer workstations or CI pipelines, signing operations are performed centrally through Infisical with full audit trails and approval controls.+Digitally sign software artifacts (JARs, binaries, container images, and more) while keeping private keys secure on the server. Instead of distributing signing keys to developer workstations or CI pipelines, signing operations are performed centrally through Infisical with full audit trails and approval controls.++<Info>+ Code Signing uses **Signers** as the organizing concept, similar to how [Applications](/documentation/platform/pki/applications/overview) work for certificates. Product Admins create Signers and assign team members (Guests) who can then request signing access.+</Info>## How It Works@@ -55,10 +59,34 @@ The Infisical [PKCS#11 module](/documentation/platform/pki/code-signing/pkcs11-m## Getting Started<CardGroup cols={2}>- <Card title="Create a Signer" href="/documentation/platform/pki/code-signing/signers">+ <Card title="Create a Signer" icon="pen-nib" href="/documentation/platform/pki/code-signing/signers">Set up a code-signer and bind it to a certificate.</Card>- <Card title="Configure Signing Policies" href="/documentation/platform/pki/code-signing/signing-policies">- Define signing policies to control who can sign and when.+ <Card title="Configure Signing Policies" icon="file-contract" href="/documentation/platform/pki/code-signing/signing-policies">+ Define rules for who can sign and when.+ </Card>+ <Card title="PKCS#11 Module" icon="plug" href="/documentation/platform/pki/code-signing/pkcs11-module">+ Use standard signing tools with Infisical.+ </Card>+ <Card title="Signing Requests" icon="paper-plane" href="/documentation/platform/pki/code-signing/signing-requests">+ Request signing access when policies are configured.+ </Card>+</CardGroup>++## What's Next?++If you're new to Code Signing, start by [creating a Signer](/documentation/platform/pki/code-signing/signers). If you need approval workflows, set up a [Signing Policy](/documentation/platform/pki/code-signing/signing-policies) first.++For integration guides with specific tools, see:++<CardGroup cols={3}>+ <Card title="Cosign" icon="docker" href="/documentation/platform/pki/code-signing/guides/pkcs11-cosign">+ Sign container images+ </Card>+ <Card title="jarsigner" icon="java" href="/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner">+ Sign Java JARs+ </Card>+ <Card title="GPG" icon="key" href="/documentation/platform/pki/code-signing/guides/pkcs11-gpg">+ Sign with GPG</Card></CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/pkcs11-module.mdx b/docs/documentation/platform/pki/code-signing/pkcs11-module.mdxindex 3e698c4984..00a682df3e 100644--- a/docs/documentation/platform/pki/code-signing/pkcs11-module.mdx+++ b/docs/documentation/platform/pki/code-signing/pkcs11-module.mdx@@ -6,6 +6,10 @@ description: "Install and configure the Infisical PKCS#11 module for use with stThe Infisical PKCS#11 module implements the PKCS#11 v2.40 standard, allowing tools like `jarsigner`, `openssl`, `cosign`, `osslsigncode`, `apksigner`, and `gpg` to use Infisical signers without code changes.+<Info>+ Before using the PKCS#11 module, ensure your Product Admin has created a [Signer](/documentation/platform/pki/code-signing/signers) and assigned you to it. If a signing policy is attached, you'll also need an approved [grant](/documentation/platform/pki/code-signing/grants).+</Info>+## InstallationDownload the pre-built binary for your platform from the [releases page](https://github.com/Infisical/infisical-pkcs-11/releases):@@ -176,6 +180,20 @@ For any issue, start by enabling debug logging in your config file to get detailVerify that your credentials and `project_id` are correct, and that the machine identity has been added to the project with the appropriate permissions.</Accordion><Accordion title="CKR_GENERAL_ERROR when signing">- This typically means the signing request was denied by the server. Check that you have an active signing grant for the signer. You can verify this in the Infisical UI under **Code Signing > Approvals > Grants**.+ This typically means the signing request was denied by the server. Check that you have an active signing grant for the signer. You can verify this in **Certificate Manager → Code Signing → Grants**.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={3}>+ <Card title="Sign JARs" icon="java" href="/documentation/platform/pki/code-signing/guides/pkcs11-jarsigner">+ Sign Java artifacts with jarsigner+ </Card>+ <Card title="Sign Containers" icon="docker" href="/documentation/platform/pki/code-signing/guides/pkcs11-cosign">+ Sign container images with Cosign+ </Card>+ <Card title="Sign with GPG" icon="key" href="/documentation/platform/pki/code-signing/guides/pkcs11-gpg">+ Use GPG with the PKCS#11 module+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/signers.mdx b/docs/documentation/platform/pki/code-signing/signers.mdxindex d9e996f1eb..4b4497b1e8 100644--- a/docs/documentation/platform/pki/code-signing/signers.mdx+++ b/docs/documentation/platform/pki/code-signing/signers.mdx@@ -1,35 +1,43 @@---title: "Signers"sidebarTitle: "Signers"-description: "Learn how to create and manage code-signing identities."+description: "Create and manage code-signing identities."----In Infisical, a signer is a named code-signer bound to an X.509 certificate with the `codeSigning` extended key usage (EKU). Each signer represents a signing capability within a project, for example `release-signer` for production releases or `ci-signer` for CI pipeline artifacts.+A Signer is a named code-signing identity bound to an X.509 certificate with the `codeSigning` extended key usage (EKU). Signers represent signing capabilities—for example, `release-signer` for production releases or `ci-signer` for CI pipeline artifacts.-Private keys never leave the Infisical server. When a signing operation is requested, the server retrieves the key, computes the signature, and returns only the signature bytes. This ensures that signing keys cannot be exfiltrated from build environments.+<Info>+ Signers are created by product admins. Team members (Guests) are assigned to Signers and can then request signing access or sign directly (depending on policy).+</Info>++Private keys never leave the Infisical server. When a signing operation is requested, the server retrieves the key, computes the signature, and returns only the signature bytes.## Key Characteristics-- **Bound to a certificate**: Every signer must be linked to a certificate that has the `codeSigning` EKU.-- **Optional signing policy**: A signer can optionally be associated with a [signing policy](/documentation/platform/pki/code-signing/signing-policies) that governs who can sign and under what conditions. Without a policy, signing is allowed without approval.-- **Supports RSA and ECDSA**: Signers support RSA (2048, 3072, 4096-bit) and ECDSA (P-256, P-384, P-521) key types depending on the certificate.-- **Tracks signing history**: Every signing operation is recorded with actor, algorithm, data hash, and grant information.+| Feature | Description |+|---------|-------------|+| **Bound to certificate** | Every signer must be linked to a certificate with the `codeSigning` EKU |+| **Optional signing policy** | Attach a [signing policy](/documentation/platform/pki/code-signing/signing-policies) to require approval before signing |+| **RSA and ECDSA** | Supports RSA (2048, 3072, 4096-bit) and ECDSA (P-256, P-384, P-521) |+| **Audit trail** | Every signing operation is recorded with actor, algorithm, and grant information |-## Guide to Creating a Signer+## Create a Signer<Steps>- <Step title="Issuing a code-signing certificate">- Before creating a signer, you need a certificate with the `codeSigning` extended key usage. Follow the [guide to issuing certificates](/documentation/platform/pki/certificates/certificates#guide-to-issuing-certificates) and specify `codeSigning` in the extended key usage field.+ <Step title="Issue a code-signing certificate">+ You need a certificate with the `codeSigning` extended key usage. Follow the [certificate issuance guide](/documentation/platform/pki/applications/certificates#issuing-certificates) and specify `codeSigning` in the extended key usage field.<Note>- Only certificates with the `codeSigning` extended key usage will be available when creating a signer. If you don't see your certificate, verify that it was issued with the correct EKU.+ Only certificates with the `codeSigning` EKU appear when creating a signer.</Note></Step>- <Step title="(Optional) Creating a signing policy">- If you want to require approval before signing, head to **Code Signing > Approvals > Signing Policies** and press **Create Policy**. See [Signing Policies](/documentation/platform/pki/code-signing/signing-policies) for details. Without a policy, any authorized user or identity can sign immediately.+ <Step title="(Optional) Create a signing policy">+ To require approval before signing, create a [Signing Policy](/documentation/platform/pki/code-signing/signing-policies) first.++ Without a policy, any authorized user or identity can sign immediately.</Step>- <Step title="Creating the signer">- Head to your Certificate Management Project > **Code Signing > Signers** and press **Create Signer**.+ <Step title="Create the signer">+ Go to **Certificate Manager → Code Signing → Signers** and click **Create Signer**.@@ -106,3 +114,14 @@ curl --request POST \Yes, depending on the signing policy configuration. If the policy allows machine identity bypass, machine identities can sign without human intervention after obtaining a grant.</Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Configure Signing Policies" icon="file-contract" href="/documentation/platform/pki/code-signing/signing-policies">+ Add approval workflows before signing operations.+ </Card>+ <Card title="PKCS#11 Module" icon="plug" href="/documentation/platform/pki/code-signing/pkcs11-module">+ Use standard signing tools with your signer.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/signing-policies.mdx b/docs/documentation/platform/pki/code-signing/signing-policies.mdxindex 72cf5883bd..ca4e4a4e64 100644--- a/docs/documentation/platform/pki/code-signing/signing-policies.mdx+++ b/docs/documentation/platform/pki/code-signing/signing-policies.mdx@@ -1,10 +1,14 @@---title: "Signing Policies"sidebarTitle: "Signing Policies"-description: "Learn how to configure signing policies for code signing operations."+description: "Configure approval workflows for code signing operations."----In Infisical, code signing policies add a human review step before signing operations can be performed, helping organizations enforce separation of duties and maintain compliance for software supply chain security.+Signing policies add a human review step before signing operations can be performed, helping enforce separation of duties and maintain compliance for software supply chain security.++<Info>+ Signing policies are created by Product Admins and attached to Signers. When a policy is attached, team members must request and receive approval before signing.+</Info>## When to Use Signing Policies@@ -51,7 +55,7 @@ Key features of signing policies include:- **Request expiration**: Set a maximum time-to-live (TTL) for pending requests.- **Constraints**: Configure max window duration or max signings (or both) to control the scope of each grant.-To create a signing policy, head to your Certificate Management Project > **Code Signing > Approvals > Signing Policies** and press **Create Policy**.+To create a signing policy, go to **Certificate Manager → Code Signing → Signing Policies** and click **Create Policy**.<Steps><Step title="Configuring the policy">@@ -86,3 +90,14 @@ To create a signing policy, head to your Certificate Management Project > **Code</Step></Steps>++## What's Next?++<CardGroup cols={2}>+ <Card title="Create a Signer" icon="pen-nib" href="/documentation/platform/pki/code-signing/signers">+ Attach this policy to a signer to enforce approvals.+ </Card>+ <Card title="Signing Requests" icon="paper-plane" href="/documentation/platform/pki/code-signing/signing-requests">+ Learn how requests flow through the approval process.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/code-signing/signing-requests.mdx b/docs/documentation/platform/pki/code-signing/signing-requests.mdxindex d66bb7ed3c..3390354853 100644--- a/docs/documentation/platform/pki/code-signing/signing-requests.mdx+++ b/docs/documentation/platform/pki/code-signing/signing-requests.mdx@@ -1,14 +1,18 @@---title: "Signing Requests"sidebarTitle: "Signing Requests"-description: "Learn how to request, approve, and reject signing access through signing workflows."+description: "Request, approve, and manage signing access through approval workflows."----## Requesting Signing Access+When a [Signing Policy](/documentation/platform/pki/code-signing/signing-policies) is attached to a signer, users and machine identities must request signing access before they can sign. This page explains how to request access and how approvers review those requests.++<Info>+ If a signer has no signing policy attached, signing is allowed immediately without a request/approval flow.+</Info>-When a user or machine identity needs to sign artifacts, they must first request signing access through the signing workflow.+## Requesting Signing Access-Head to your Certificate Management Project > **Code Signing > Approvals > Signing Requests** and press **Request Signing Access**.+Go to **Certificate Manager → Code Signing → Requests** and click **Request Signing Access**.@@ -31,7 +35,7 @@ Head to your Certificate Management Project > **Code Signing > Approvals > Signi## Viewing Requests-Head to **Code Signing > Approvals > Signing Requests** to view all signing requests. You can filter requests by status:+Go to **Certificate Manager → Code Signing → Requests** to view all signing requests. You can filter requests by status:- **Open**: Requests currently pending approval- **Approved**: Requests that have been approved and grants issued@@ -73,3 +77,14 @@ Once all required approvals for all steps are obtained, a signing grant is autom</Steps>When a request is rejected, no signing grant is issued.++## What's Next?++<CardGroup cols={2}>+ <Card title="Manage Grants" icon="key" href="/documentation/platform/pki/code-signing/grants">+ View and revoke active signing grants.+ </Card>+ <Card title="PKCS#11 Module" icon="plug" href="/documentation/platform/pki/code-signing/pkcs11-module">+ Use your grant with standard signing tools.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/concepts/certificate-components.mdx b/docs/documentation/platform/pki/concepts/certificate-components.mdxindex d1ca35ff13..66e5fcfd80 100644--- a/docs/documentation/platform/pki/concepts/certificate-components.mdx+++ b/docs/documentation/platform/pki/concepts/certificate-components.mdx@@ -10,11 +10,11 @@ The following resources define how certificates are issued, shaped, and governed- [Certificate Authority (CA)](/documentation/platform/pki/ca/overview): The trusted entity that issues X.509 certificates. This can be an [Internal CA](/documentation/platform/pki/ca/private-ca) or an [External CA](/documentation/platform/pki/ca/external-ca) in Infisical.The former represents a fully managed CA hierarchy within Infisical, while the latter represents an external CA (e.g. [DigiCert](/documentation/platform/pki/ca/digicert), [Let's Encrypt](/documentation/platform/pki/ca/lets-encrypt), [Microsoft AD CS](/documentation/platform/pki/ca/azure-adcs), etc.) that can be integrated with Infisical.-- [Certificate Policy](/documentation/platform/pki/certificates/policies): A policy structure specifying permitted attributes for requested certificates. This includes constraints around subject naming conventions, SAN fields, key usages, and extended key usages.+- [Certificate Policy](/documentation/platform/pki/settings/policies): A policy structure specifying permitted attributes for requested certificates. This includes constraints around subject naming conventions, SAN fields, key usages, and extended key usages.-- [Certificate Profile](/documentation/platform/pki/certificates/profiles): A configuration set specifying how leaf certificates should be issued for a group of end-entities including the issuing CA, a certificate policy, and the enrollment method (e.g. [ACME](/documentation/platform/pki/enrollment-methods/acme), [EST](/documentation/platform/pki/enrollment-methods/est), [API](/documentation/platform/pki/enrollment-methods/api), etc.) used to enroll certificates.+- [Certificate Profile](/documentation/platform/pki/settings/profiles): A configuration set specifying how leaf certificates should be issued for a group of end-entities including the issuing CA, a certificate policy, and the enrollment method (e.g. [ACME](/documentation/platform/pki/applications/enrollment-methods/acme), [EST](/documentation/platform/pki/applications/enrollment-methods/est), [API](/documentation/platform/pki/applications/enrollment-methods/api), etc.) used to enroll certificates.-- [Certificate](/documentation/platform/pki/certificates/certificates): The actual X.509 certificate issued for a profile. Once created, it is tracked in Infisical’s certificate inventory for management, renewal, and lifecycle operations.+- [Certificate](/documentation/platform/pki/applications/certificates): The actual X.509 certificate issued for a profile. Once created, it is tracked in Infisical's certificate inventory for management, renewal, and lifecycle operations.## Access Controldiff --git a/docs/documentation/platform/pki/concepts/certificate-lifecycle.mdx b/docs/documentation/platform/pki/concepts/certificate-lifecycle.mdxindex ddba5ab7d0..d82daf1242 100644--- a/docs/documentation/platform/pki/concepts/certificate-lifecycle.mdx+++ b/docs/documentation/platform/pki/concepts/certificate-lifecycle.mdx@@ -29,7 +29,7 @@ Enrollment can be manually completed via API or fully automated using protocols## Approval-Certificate approval is an optional workflow that adds a human review step before certificates are issued. When an [approval policy](/documentation/platform/pki/approvals) is configured for a [certificate profile](/documentation/platform/pki/certificates/profiles), certificate requests are placed in a pending state until the required approvers review and approve them.+Certificate approval is an optional workflow that adds a human review step before certificates are issued. When an [approval policy](/documentation/platform/pki/applications/approvals) is configured for a [certificate profile](/documentation/platform/pki/settings/profiles), certificate requests are placed in a pending state until the required approvers review and approve them.Approval workflows help organizations:@@ -44,7 +44,7 @@ Once all approval steps are completed, the certificate is automatically issued a## Deployment-Certificate deployment involves installing the issued certificate on the appropriate systems and services, such as web servers, load balancers, or internal endpoints. It can also include distributing or [synchronizing certificates](/documentation/platform/pki/certificate-syncs/overview) to external systems like cloud key stores (e.g., AWS Secrets Manager, Google Secret Manager, Azure Key Vault) so they can be securely consumed by workloads running in the cloud.+Certificate deployment involves installing the issued certificate on the appropriate systems and services, such as web servers, load balancers, or internal endpoints. It can also include distributing or [synchronizing certificates](/documentation/platform/pki/applications/certificate-syncs/overview) to external systems like cloud key stores (e.g., AWS Secrets Manager, Google Secret Manager, Azure Key Vault) so they can be securely consumed by workloads running in the cloud.Deployment can happen manually or through automated mechanisms such as configuration pipelines, agents, or webhook integrations.diff --git a/docs/documentation/platform/pki/discovery/overview.mdx b/docs/documentation/platform/pki/discovery/overview.mdxindex bdb749665f..9255f04b56 100644--- a/docs/documentation/platform/pki/discovery/overview.mdx+++ b/docs/documentation/platform/pki/discovery/overview.mdx@@ -1,41 +1,65 @@---+title: "Certificate Discovery"sidebarTitle: "Overview"-description: "Learn how to discover certificates across your infrastructure with Infisical"+description: "Scan your infrastructure to find and inventory certificates."----Certificate Discovery enables automated scanning of your infrastructure to find certificates. By configuring discovery jobs, you can continuously monitor for certificates deployed across your environment, giving you full visibility into your organization's certificate landscape.+Certificate Discovery automatically scans your infrastructure to find certificates you may not know exist. This gives you full visibility into your organization's certificate landscape — helping you identify expiring certificates, misconfigurations, and shadow PKI.-## Concept+## How It Works-Discovery jobs scan your infrastructure for certificates and organize the results as **installations**, unique locations where certificates were found. Each installation tracks the certificates discovered at that location across multiple scans, allowing you to monitor certificate changes over time.+Discovery jobs scan your infrastructure and organize results as **installations** — unique locations where certificates were found. Each installation tracks certificates discovered at that location across multiple scans, allowing you to monitor changes over time.-## Discovery Types--Infisical supports multiple discovery types, each targeting a different source of certificates:--- **[Network](/documentation/platform/pki/discovery/network)**: Scans network endpoints over TLS to discover certificates served by hosts across IP ranges and domains.+<CardGroup cols={2}>+ <Card title="Network Discovery" icon="network-wired" href="/documentation/platform/pki/discovery/network">+ Scan network endpoints over TLS to discover certificates served by hosts across IP ranges and domains.+ </Card>+</CardGroup><Note>- Additional discovery types will be added in future releases.+ Additional discovery types (cloud providers, file systems, etc.) will be added in future releases.</Note>## Installations-An installation represents a unique location where a certificate was discovered.+An installation represents a unique location where a certificate was discovered — for example, a specific hostname and port combination.-<Note>- For Network discovery, each installation is identified by its hostname or IP address and port combination.-</Note>+**View installations:**+- From the **Installations** tab on the Discovery page+- From a specific discovery job's detail page+- From a certificate's detail page (shows where that certificate is deployed)-Installations can be viewed from the **Installations** tab on the Discovery page, or from the detail page of a specific discovery job. You can also view installations associated with a specific certificate from the certificate's detail page.+## Certificate Matching++Discovered certificates are matched to your existing inventory by fingerprint. If a discovered certificate matches one in your Infisical organization, the installation is linked to that certificate — giving you a unified view of where your certificates are deployed.## FAQ<AccordionGroup><Accordion title="How are discovered certificates matched to existing certificates?">- Discovered certificates are matched by their fingerprint. If a discovered certificate matches an existing certificate in your Infisical project, the installation will be linked to that certificate.+ Discovered certificates are matched by their fingerprint (SHA-256 hash of the DER-encoded certificate). If a discovered certificate matches an existing certificate in your organization, the installation is linked to that certificate.</Accordion><Accordion title="What happens when a certificate changes at an endpoint?">When a subsequent scan detects a different certificate at a location, the installation is updated to reflect the new certificate. The previous certificate association is preserved in the scan history.</Accordion>+ <Accordion title="Can I import discovered certificates into my inventory?">+ Yes — if a discovered certificate doesn't match any existing certificate, you can import it into your inventory to track and manage it alongside certificates issued through Infisical.+ </Accordion></AccordionGroup>++## What's Next?++<CardGroup cols={2}>+ <Card title="Network Discovery" icon="network-wired" href="/documentation/platform/pki/discovery/network">+ Scan TLS endpoints across IP ranges and domains.+ </Card>+ <Card title="Applications" icon="grid-2" href="/documentation/platform/pki/applications/overview">+ Issue and manage certificates for your services.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/applications/alerting/overview">+ Get notified when discovered certificates expire.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/enrollment-methods/acme.mdx b/docs/documentation/platform/pki/enrollment-methods/acme.mdxdeleted file mode 100644index 8567e48a74..0000000000--- a/docs/documentation/platform/pki/enrollment-methods/acme.mdx+++ /dev/null@@ -1,77 +0,0 @@-----title: "Certificate Enrollment via ACME"-sidebarTitle: "ACME"------## Concept--The ACME enrollment method allows Infisical to act as an ACME server. It lets you request and manage certificates against a specific [certificate profile](/documentation/platform/pki/certificates/profiles) using the [ACME protocol](https://en.wikipedia.org/wiki/Automatic_Certificate_Management_Environment).--This method is suitable for web servers, load balancers, and other general-purpose servers that can run an [ACME client](https://letsencrypt.org/docs/client-options/) for automated certificate management;-it can also be used with [cert-manager](https://cert-manager.io/) to issue and renew certificates for Kubernetes workloads through the [ACME issuer type](https://cert-manager.io/docs/configuration/acme/).--Infisical's ACME enrollment method is based on [RFC 8555](https://datatracker.ietf.org/doc/html/rfc8555/).--## Prerequisites--Install an [ACME client](https://letsencrypt.org/docs/client-options/) onto your server. This client will handle [ACME challenges](https://letsencrypt.org/docs/challenge-types/) and request/renew certificates from Infisical.--## Guide to Certificate Enrollment via ACME--In the following steps, we explore how to issue a X.509 certificate using the ACME enrollment method.--<Steps>- <Step title="Create a certificate profile in Infisical">- Create a [certificate- profile](/documentation/platform/pki/certificates/profiles) with **ACME**- selected as the enrollment method.-- -- <Note>-- By default, when the ACME client requests a certificate against the certificate profile for a particular domain, Infisical will verify domain ownership using the [HTTP-01 challenge](https://letsencrypt.org/docs/challenge-types/#http-01-challenge) method prior to issuing a certificate back to the client.-- If you want Infisical to skip domain ownership validation entirely, you can enable the **Skip DNS Ownership Validation** checkbox.-- Note that skipping domain ownership validation for the ACME enrollment method is **not the same** as skipping validation for an [External ACME CA integration](/documentation/platform/pki/ca/acme-ca).-- When using the ACME enrollment, the domain ownership check occurring between the ACME client and Infisical can be skipped. In contrast, External ACME CA integrations always require domain ownership validation, as Infisical must complete a DNS-01 challenge with the upstream ACME-compatible CA.- </Note>-- </Step>- <Step title="Obtain the ACME configuration">- Once you've created the certificate profile, you can obtain its ACME configuration details by clicking the **Reveal ACME EAB** option on the profile.-- -- From the ACME configuration, gather the following values:-- - ACME Directory URL: The URL that the ACME client will use to communicate with Infisical's ACME server.- - EAB Key Identifier (KID): A unique identifier that tells Infisical which ACME account is making the request.- - EAB Secret: A secret key that authenticates your ACME client with Infisical.-- </Step>- <Step title="Configure your ACME client">- Provide the **ACME Directory URL**, **EAB KID**, and **EAB Secret** from Step 2 to your ACME client to authenticate with Infisical and request a certificate.-- For example, if using [Certbot](https://certbot.eff.org/) as an ACME client, you can configure and start requesting certificates with the following command:-- ```bash- sudo certbot certonly \- --standalone \- --server "https://your-infisical-instance.com/api/v1/cert-manager/certificate-profiles/{profile-id}/acme/directory" \- --eab-kid "your-eab-kid" \- --eab-hmac-key "your-eab-secret" \- -d example.infisical.com \- --email [email protected] \- --agree-tos \- --non-interactive- ```-- Certbot stores the private key and resulting leaf certificate and full certificate chain in `/etc/letsencrypt/live/{domain-name}/`.-- For client-specific setup and usage instructions, refer to the documentation for your ACME client.-- </Step>-</Steps>diff --git a/docs/documentation/platform/pki/enrollment-methods/api.mdx b/docs/documentation/platform/pki/enrollment-methods/api.mdxdeleted file mode 100644index c27062e552..0000000000--- a/docs/documentation/platform/pki/enrollment-methods/api.mdx+++ /dev/null@@ -1,193 +0,0 @@-----title: "Certificate Enrollment via API"-sidebarTitle: "API"------## Concept--The API enrollment method allows you to issue certificates against a specific [certificate profile](/documentation/platform/pki/certificates/profiles) over Web UI or by making an API request to Infisical.--## Guide to Certificate Enrollment via API--In the following steps, we explore how to issue a X.509 certificate using the API enrollment method.--<Tabs>- <Tab title="Infisical UI">--<Steps>- <Step title="Create a certificate profile in Infisical">- Create a [certificate- profile](/documentation/platform/pki/certificates/profiles) with **API**- selected as the enrollment method.-- Notice that the API enrollment method supports an option called **Enable Auto-Renewal By Default**.- If selected, _eligible_ certificates are automatically considered for server-side auto-renewal based- on a specified renewal days before expiration threshold at the time of issuance; for more information- about server-side auto-renewal, refer to the documentation [here](/documentation/platform/pki/certificates/certificates#guide-to-renewing-certificates).-- </Step>- <Step title="Issue a certificate">- To create a certificate, head to your Project > Certificates > Certificate Requests and press **Request**.-- --Here, select the certificate profile from step 1 that will be used to issue the certificate and fill out the rest of the details for the certificate to be issued.---- </Step>- <Step title="Download the certificate details">- Once you have created the certificate from step 1, you'll be presented with the certificate details including the **Certificate Body**, **Certificate Chain**, and **Private Key**.-- -- <Note>- Make sure to download and store the **Private Key** in a secure location as it- will only be displayed once at the time of certificate issuance. The- **Certificate Body** and **Certificate Chain** will remain accessible and can- be copied at any time.- </Note>-- </Step>-</Steps>- </Tab>- <Tab title="API">--<Steps>- <Step title="Create a certificate profile in Infisical">-- To create a certificate [profile](/documentation/platform/pki/certificates/profiles), make an API request to the [Create Certificate Profile](/api-reference/endpoints/certificate-profiles/create) API endpoint.-- ### Sample request-- ```bash Request- curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/certificate-profiles' \- --header 'Authorization: Bearer <access-token>' \- --header 'Content-Type: application/json' \- --data-raw '{- "projectId": "<project-id>",- "caId": "<ca-id>",- "certificatePolicyId": "<certificate-policy-id>",- "slug": "my-api-profile",- "description": "Certificate profile for API enrollment",- "enrollmentType": "API",- "apiConfig": {- "autoRenew": true,- "renewBeforeDays": 7- }- }'- ```-- ### Sample response-- ```bash Response- {- "certificateProfile": {- "id": "550e8400-e29b-41d4-a716-446655440000",- "projectId": "65f0a4b0-c123-4567-8901-23456789abcd",- "caId": "550e8400-e29b-41d4-a716-446655440000",- "certificatePolicyId": "660f1234-e29b-41d4-a716-446655440001",- "slug": "my-api-profile",- "description": "Certificate profile for API enrollment",- "enrollmentType": "API",- "apiConfigId": "770g2345-e29b-41d4-a716-446655440002",- "createdAt": "2023-01-19T09:44:36.267Z",- "updatedAt": "2023-01-19T09:44:36.267Z"- }- }- ```-- </Step>- <Step title="Issue a certificate">-- To issue a certificate against the certificate profile, make an API request to the [Issue Certificate](/api-reference/endpoints/certificates/create-certificate) API endpoint.-- ### Sample request-- ```bash Request- curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/certificates' \- --header 'Authorization: Bearer <access-token>' \- --header 'Content-Type: application/json' \- --data-raw '{- "profileId": "<certificate-profile-id>",- "attributes": {- "commonName": "service.acme.com",- "ttl": "1y",- "signatureAlgorithm": "RSA-SHA256",- "keyAlgorithm": "RSA_2048",- "keyUsages": ["digital_signature", "key_encipherment"],- "extendedKeyUsages": ["server_auth"],- "altNames": [- {- "type": "DNS",- "value": "service.acme.com"- },- {- "type": "DNS",- "value": "www.service.acme.com"- }- ]- },- "metadata": [- { "key": "env", "value": "production" },- { "key": "team", "value": "platform" }- ]- }'- ```-- ### Sample response-- ```bash Response- {- "certificate": {- "certificate": "-----BEGIN CERTIFICATE-----\nMIIEpDCCAowCCQD...\n-----END CERTIFICATE-----",- "certificateChain": "-----BEGIN CERTIFICATE-----\nMIIEpDCCAowCCQD...\n-----END CERTIFICATE-----",- "issuingCaCertificate": "-----BEGIN CERTIFICATE-----\nMIIEpDCCAowCCQD...\n-----END CERTIFICATE-----",- "privateKey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC...\n-----END PRIVATE KEY-----",- "serialNumber": "123456789012345678",- "certificateId": "880h3456-e29b-41d4-a716-446655440003"- },- "certificateRequestId": "..."- }- ```-- <Note>- Note: If the certificate is available to be issued immediately, the `certificate` field in the response will contain the certificate data. If issuance is delayed (for example, due to pending approval or additional processing), the `certificate` field will be `null` and you can use the `certificateRequestId` to poll for status or retrieve the certificate when it is ready using the [Get Certificate Request](/api-reference/endpoints/certificates/certificate-request) API endpoint.- </Note>-- If you have an external private key, you can also issue a certificate by making an API request containing a pem-encoded CSR (Certificate Signing Request) to the same [Issue Certificate](/api-reference/endpoints/certificates/create-certificate) API endpoint.-- ### Sample request-- ```bash Request- curl --location --request POST 'https://app.infisical.com/api/v1/cert-manager/certificates' \- --header 'Authorization: Bearer <access-token>' \- --header 'Content-Type: application/json' \- --data-raw '{- "profileId": "<certificate-profile-id>",- "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBE9oaW8...\n-----END CERTIFICATE REQUEST-----",- "attributes": {- "ttl": "1y"- }- }'- ```-- ### Sample response-- ```bash Response- {- "certificate": {- "certificate": "-----BEGIN CERTIFICATE-----\nMIIEpDCCAowCCQD...\n-----END CERTIFICATE-----",- "certificateChain": "-----BEGIN CERTIFICATE-----\nMIIEpDCCAowCCQD...\n-----END CERTIFICATE-----",- "issuingCaCertificate": "-----BEGIN CERTIFICATE-----\nMIIEpDCCAowCCQD...\n-----END CERTIFICATE-----",- "serialNumber": "123456789012345679",- "certificateId": "990i4567-e29b-41d4-a716-446655440004"- },- "certificateRequestId": "..."- }- ```-- </Step>-</Steps>- </Tab>-</Tabs>diff --git a/docs/documentation/platform/pki/enrollment-methods/est.mdx b/docs/documentation/platform/pki/enrollment-methods/est.mdxdeleted file mode 100644index 35e7705955..0000000000--- a/docs/documentation/platform/pki/enrollment-methods/est.mdx+++ /dev/null@@ -1,71 +0,0 @@-----title: "Certificate Enrollment via EST"-sidebarTitle: "EST"------## Concept--The EST enrollment method allows you to issue and manage certificates against a specific [certificate profile](/documentation/platform/pki/certificates/profiles) using the [EST protocol](https://en.wikipedia.org/wiki/Enrollment_over_Secure_Transport).-This method is suitable for environments requiring strong authentication and encrypted communication, such as in IoT, enterprise networks, and secure web services.--Infisical's EST service is based on [RFC 7030](https://datatracker.ietf.org/doc/html/rfc7030) and implements the following endpoints:--- **cacerts** - provides the necessary CA chain for the client to validate certificates issued by the CA.-- **simpleenroll** - allows an EST client to request a new certificate from Infisical's EST server-- **simplereenroll** - similar to the /simpleenroll endpoint but is used for renewing an existing certificate.--These EST endpoints are exposed on port 8443 under the .well-known/est path-and structured under `https://app.infisical.com:8443/.well-known/est/{profile_id}/...`--## Prerequisites--- Your client devices need to have a bootstrap/pre-installed certificate.-- Your client devices must trust the server certificates used by Infisical's EST server. If the devices are new or lack existing trust configurations, you need to manually establish trust for the appropriate certificates.--<Note>- For Infisical Cloud users, the devices must be configured to trust the [Amazon- root CA certificates](https://www.amazontrust.com/repository).-</Note>--## Guide to Certificate Enrollment via EST--In the following steps, we explore how to issue a X.509 certificate using the EST enrollment method.--<Steps>- <Step title="Create a certificate profile in Infisical">- Create a [certificate- profile](/documentation/platform/pki/certificates/profiles) with **EST**- selected as the enrollment method and fill in EST-specific configuration.-- -- Here's some guidance on each EST-specific configuration field:-- - Disable Bootstrap CA Validation: Enable this if your devices are not configured with a bootstrap certificate.- - EST Passphrase: This is also used to authenticate your devices with Infisical's EST server. When configuring the clients, use the value defined here as the EST password.- - CA Chain Certificate: This is the certificate chain used to validate your devices' manufacturing/pre-installed certificates. This will be used to authenticate your devices with Infisical's EST server.-- </Step>- <Step title="Obtain the EST label">- Once the EST enrollment method configuration is complete, you can use the ID of the associated certificate profile- `profile_id` as the EST label when enrolling EST clients with Infisical.-- -- The complete URL structure of the supported EST endpoints may look like the following:-- - https://app.infisical.com:8443/.well-known/est/{profile_id}/cacerts- - https://app.infisical.com:8443/.well-known/est/{profile_id}/simpleenroll- - https://app.infisical.com:8443/.well-known/est/{profile_id}/simplereenroll- </Step>-- <Step title="Configure EST clients">- To use the EST passphrase in your clients, configure it as the EST password. The EST username can be set to any arbitrary value.- Use the appropriate client certificates for invoking the EST endpoints.- - For `simpleenroll`, use the bootstrapped/manufacturer client certificate.- - For `simplereenroll`, use a valid EST-issued client certificate.- When configuring the PKCS#12 objects for the client certificates, only include the leaf certificate and the private key.-- </Step>--</Steps>diff --git a/docs/documentation/platform/pki/enrollment-methods/overview.mdx b/docs/documentation/platform/pki/enrollment-methods/overview.mdxdeleted file mode 100644index 9c881c5d07..0000000000--- a/docs/documentation/platform/pki/enrollment-methods/overview.mdx+++ /dev/null@@ -1,15 +0,0 @@-----title: "Overview"-sidebarTitle: "Overview"------Enrollment methods determine how certificates are issued and managed for a [certificate profile](/documentation/platform/pki/certificates/profiles).--Refer to the documentation for each enrollment method below to learn more about how to enroll certificates using it.--- [API](/documentation/platform/pki/enrollment-methods/api): Enroll certificates via API.-- [ACME](/documentation/platform/pki/enrollment-methods/acme): Enroll certificates using the ACME protocol.-- [EST](/documentation/platform/pki/enrollment-methods/est): Enroll certificates using the EST protocol.-- [SCEP](/documentation/platform/pki/enrollment-methods/scep): Enroll certificates using the SCEP protocol.--Note that beyond using an enrollment method, you can also deliver a certificate to a target destination using supported [certificate syncs](https://infisical.com/docs/documentation/platform/pki/certificate-syncs/overview).diff --git a/docs/documentation/platform/pki/getting-started.mdx b/docs/documentation/platform/pki/getting-started.mdxnew file mode 100644index 0000000000..a384cf2c3b--- /dev/null+++ b/docs/documentation/platform/pki/getting-started.mdx@@ -0,0 +1,61 @@+---+title: "Getting Started"+sidebarTitle: "Getting Started"+description: "Get started with Infisical Certificate Manager based on what you want to accomplish."+---++Infisical Certificate Manager helps you issue and manage X.509 certificates across your organization. This guide will help you get started based on what you need to accomplish.++## What do you want to do?++<CardGroup cols={2}>+ <Card title="Issue Certificates" icon="certificate" href="/documentation/platform/pki/applications/overview">+ Issue TLS, mTLS, or device certificates for your services and workloads using Applications.+ </Card>+ <Card title="Sign Code" icon="file-signature" href="/documentation/platform/pki/code-signing/overview">+ Digitally sign software artifacts with centralized key management and approval workflows.+ </Card>+</CardGroup>++## How Certificate Manager Works++Product admins set up the infrastructure, teams issue certificates:++- **[Certificate Authority](/documentation/platform/pki/ca/overview)** — The entity that signs certificates. Use an internal CA or connect an external one (DigiCert, Let's Encrypt, AWS PCA).+- **[Certificate Policy](/documentation/platform/pki/settings/policies)** — Rules for what certificates can contain: allowed domains, validity periods, key algorithms.+- **[Certificate Profile](/documentation/platform/pki/settings/profiles)** — Combines a CA + policy into a reusable template.+- **[Application](/documentation/platform/pki/applications/overview)** — Where teams work. Groups certificates for a service and configures enrollment (API, ACME, EST, SCEP).++## Who manages what?++| Role | Responsibilities |+|------|------------------|+| **Product Admin** | Set up CAs, policies, profiles. Create Applications and assign team members. |+| **Application Admin** | Configure enrollment methods, alerting, syncs within their Application. |+| **Application Operator** | Issue, renew, and revoke certificates. |++<Info>+ **Product Admin?** Start with [Certificate Authorities](/documentation/platform/pki/ca/overview), then create [Applications](/documentation/platform/pki/applications/overview) for your teams.++ **Team member?** Ask your product admin to create an Application and assign you.+</Info>++## Next Steps++<CardGroup cols={2}>+ <Card title="Create an Application" icon="grid-2" href="/documentation/platform/pki/applications/overview">+ Set up an Application and issue your first certificate.+ </Card>+ <Card title="Set Up a Certificate Authority" icon="building-columns" href="/documentation/platform/pki/ca/overview">+ Create an internal CA or connect an external CA.+ </Card>+</CardGroup>++<CardGroup cols={2}>+ <Card title="Certificate Lifecycle" icon="arrows-spin" href="/documentation/platform/pki/concepts/certificate-lifecycle">+ Understand how certificates are issued, renewed, and revoked.+ </Card>+ <Card title="Certificate Components" icon="puzzle-piece" href="/documentation/platform/pki/concepts/certificate-components">+ Learn about keys, CSRs, extensions, and certificate structure.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/migration.mdx b/docs/documentation/platform/pki/migration.mdxnew file mode 100644index 0000000000..110b11014e--- /dev/null+++ b/docs/documentation/platform/pki/migration.mdx@@ -0,0 +1,146 @@+---+title: "Migration Guide"+sidebarTitle: "Migration"+description: "Migrate from the legacy project-based model to the new Application-centric model."+---++If you're on the legacy project-based Certificate Manager, this guide explains what changed and how to migrate to the new Application-centric model.++<Warning>+ This guide is for existing customers on the legacy model. If you're new to Infisical Certificate Manager, start with [Getting Started](/documentation/platform/pki/getting-started).+</Warning>++## What Changed++The new Certificate Manager removes the "project" concept and introduces a clearer separation between product-level infrastructure (CAs, Policies, Profiles) and resource-level operations (Applications, Signers).++### Key Changes++| Before | After |+|--------|-------|+| Certificate Management Project | Certificate Manager (Product) |+| Certificates issued at project level | Certificates issued through Applications |+| Profiles had enrollment methods baked in | Enrollment methods configured per Application |+| Alerts filtered by profile/properties | Alerts configured per Application (no filters) |+| Approval policies defined separately | Approval policies defined inside Applications (per profile) |+| Access control at project level | Two-level access: Product level + Application/Signer level |++### New Hierarchy++```+Organization+└── Certificate Manager (Product)+ ├── Product-Level (Admin manages)+ │ ├── Certificate Authorities+ │ ├── Certificate Policies+ │ ├── Certificate Profiles+ │ └── Requests (centralized approvals)+ │+ └── Resource-Level (Teams operate)+ ├── Applications (for certificates)+ └── Signers (for code signing)+```++### New Access Control Model++**Product Level:**++| Role | What they see | What they can do |+|------|---------------|------------------|+| **Product Admin** | Everything | Full control of CAs, Policies, Profiles, Applications, Signers |+| **Product Auditor** | Everything | Read-only |+| **Product Guest** | Applications, Signers, Requests | Operate within assigned resources only |++**Application/Signer Level:**++| Role | What they can do |+|------|------------------|+| **Application Admin** | Configure enrollment methods, syncs, alerts, approvals |+| **Application Operator** | Issue, renew, revoke certificates |++## Migration Steps++<Steps>+ <Step title="Review your current setup">+ Document your existing:+ - Certificate profiles and their enrollment methods+ - Alert configurations and filters+ - Approval policies+ - Team members and their access levels+ </Step>+ <Step title="Create Applications (Product Admin)">+ As a product admin, create an Application for each logical grouping of certificates (e.g., per service, per team):++ 1. Go to **Certificate Manager → Applications**+ 2. Click **Create Application**+ 3. Name it after the service or team (e.g., `payments-api`, `platform-team`)+ 4. Assign team members who will operate within this Application+ </Step>+ <Step title="Configure enrollment methods per Application">+ For each Application:++ 1. Add the appropriate enrollment method(s) (API, ACME, EST, SCEP)+ 2. Select the certificate profile that defines what certificates look like++ <Note>+ Profiles no longer have enrollment methods baked in. You configure enrollment at the Application level, allowing one profile to be used with different enrollment methods.+ </Note>+ </Step>+ <Step title="Migrate alerts">+ For each Application:++ 1. Go to **Alerting** within the Application+ 2. Create alerts for expiration, issuance, renewal, and revocation++ <Warning>+ Alert filters (by profile or certificate properties) are no longer supported. Alerts now apply to all certificates in the Application.+ </Warning>+ </Step>+ <Step title="Migrate approval policies">+ For each Application:++ 1. When attaching a profile, configure approval requirements+ 2. Approval policies are now scoped to profile + Application++ Pending approval requests appear in the centralized **Requests** page at the product level.+ </Step>+ <Step title="Assign team members">+ 1. Grant **Product Guest** role to team members who need Application access+ 2. Assign them to specific Applications with **Application Admin** or **Application Operator** roles++ <Note>+ Product Guests only see Applications and Signers they're assigned to, plus the centralized Requests page.+ </Note>+ </Step>+ <Step title="Update API integrations">+ If you use the API:++ 1. Review API endpoints for any path changes+ 2. Update authentication to use the new Application context where applicable+ 3. Test your integrations in a non-production environment first+ </Step>+</Steps>++## FAQ++<AccordionGroup>+ <Accordion title="Can I still use certificate profiles?">+ Yes. Profiles still exist and define what certificates look like (CA, validity, constraints). The change is that enrollment methods are now configured per Application, not per profile.+ </Accordion>+ <Accordion title="What happens to my existing certificates?">+ Existing certificates remain in your inventory. You'll need to organize them into Applications for ongoing management.+ </Accordion>+ <Accordion title="Do I need to re-issue certificates?">+ No. Existing certificates continue to work. The migration is about how you organize and manage them going forward.+ </Accordion>+ <Accordion title="Can I keep my existing alerts?">+ You'll need to recreate alerts within Applications. The new model doesn't support profile-based or property-based alert filtering—alerts apply to all certificates in an Application.+ </Accordion>+ <Accordion title="What about approval workflows?">+ Approval policies are now defined inside Applications and can be configured per profile. Pending requests appear in the centralized Requests page.+ </Accordion>+</AccordionGroup>++## Need Help?++If you encounter issues during migration or have questions, contact [email protected].diff --git a/docs/documentation/platform/pki/overview.mdx b/docs/documentation/platform/pki/overview.mdxindex 80b310a695..c42fb5b7fa 100644--- a/docs/documentation/platform/pki/overview.mdx+++ b/docs/documentation/platform/pki/overview.mdx@@ -1,21 +1,76 @@---title: "Certificate Management"sidebarTitle: "Overview"-description: "Manage Certificate Authorities and automate X.509 certificate lifecycle management."+description: "Manage Certificate Authorities and automate X.509 certificate lifecycle management across your organization."----Infisical can be used to create and manage Certificate Authorities (CAs) and issue digital X.509 certificates. This allows you to manage PKI infrastructure and issue certificates for end-entities such as load balancers, web servers, devices, and more.+Infisical Certificate Manager is a centralized platform for managing X.509 certificates across your organization. Issue certificates for TLS, mTLS, and device authentication — whether from your own private CAs or external providers like DigiCert and Let's Encrypt.-It helps teams automate certificate management including enrollment and renewal, and adopt secure workflows to ensure certificates remain valid, trusted, and synchronized across infrastructure.+<Card title="Get Started" icon="rocket" href="/documentation/platform/pki/getting-started">+ New to Certificate Manager? Start here to understand the core concepts and issue your first certificate.+</Card>-Core capabilities include:+## Core Capabilities-- [Private CA](/documentation/platform/pki/ca/private-ca): Create and manage your own private CA hierarchy including root and intermediate CAs.-- [External CA integration](/documentation/platform/pki/ca/external-ca): Integrate with external public and private CAs including [Azure ADCS](/documentation/platform/pki/ca/azure-adcs) and [ACME-compatible CAs](/documentation/platform/pki/ca/acme-ca) like Let's Encrypt and DigiCert.-- [Certificate Enrollment](/documentation/platform/pki/enrollment-methods/overview): Support enrollment methods including [API](/documentation/platform/pki/enrollment-methods/api), [ACME](/documentation/platform/pki/enrollment-methods/acme), [EST](/documentation/platform/pki/enrollment-methods/est), and more to automate certificate issuance for services, devices, and workloads.-- Certificate Inventory: Track and monitor issued X.509 certificates, maintaining a comprehensive inventory of all active and expired certificates.-- Certificate Lifecycle Automation: Automate issuance, [renewal](/documentation/platform/pki/certificates/certificates#guide-to-renewing-certificates), and [revocation](/documentation/platform/pki/certificates/certificates#guide-to-revoking-certificates) with policy-based workflows, ensuring certificates remain valid, compliant, and up to date across your infrastructure.-- [Certificate Syncs](/documentation/platform/pki/certificate-syncs/overview): Push certificates to cloud certificate managers like [AWS Certificate Manager](/documentation/platform/pki/certificate-syncs/aws-certificate-manager) and [Azure Key Vault](/documentation/platform/pki/certificate-syncs/azure-key-vault).-- [Certificate Discovery](/documentation/platform/pki/discovery/overview): Discover and map certificates deployed across your infrastructure, providing full visibility into your organization's certificate landscape.-- [Certificate Alerts](/documentation/platform/pki/alerting/overview): Receive alerts and webhook events for certificate lifecycle changes such as certificate expiration.-- [Code Signing](/documentation/platform/pki/code-signing/overview): Digitally sign software artifacts with centralized key management, approval workflows, and PKCS#11 integration for tools like jarsigner.+<CardGroup cols={2}>+ <Card title="Applications" icon="grid-2" href="/documentation/platform/pki/applications/overview">+ Organize certificate management by service. Each Application has its own members, enrollment methods, alerting, and certificate inventory.+ </Card>+ <Card title="Certificate Authorities" icon="building-columns" href="/documentation/platform/pki/ca/overview">+ Create private CA hierarchies or integrate with external CAs like DigiCert, Let's Encrypt, AWS PCA, and Azure ADCS.+ </Card>+ <Card title="Certificate Enrollment" icon="plug" href="/documentation/platform/pki/applications/enrollment-methods/overview">+ Issue certificates via API, ACME, EST, or SCEP — supporting everything from Certbot to enterprise device enrollment.+ </Card>+ <Card title="Code Signing" icon="file-signature" href="/documentation/platform/pki/code-signing/overview">+ Sign software artifacts with centralized key management, approval workflows, and PKCS#11 integration.+ </Card>+</CardGroup>++## Lifecycle Automation++Certificate Manager automates the certificate lifecycle from issuance to expiration:++<Columns cols="3">+ <Card title="Issuance" icon="certificate">+ Issue certificates on-demand or through automated enrollment protocols.+ </Card>+ <Card title="Renewal" icon="arrows-spin">+ Auto-renew certificates before expiration with configurable lead times.+ </Card>+ <Card title="Revocation" icon="ban">+ Revoke compromised certificates and publish to CRL distribution points.+ </Card>+</Columns>++## Visibility & Delivery++<CardGroup cols={2}>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/certificate-syncs/overview">+ Push certificates to AWS Certificate Manager, Azure Key Vault, Cloudflare, and other destinations.+ </Card>+ <Card title="Certificate Discovery" icon="radar" href="/documentation/platform/pki/discovery/overview">+ Scan your infrastructure to find and inventory certificates you didn't know existed.+ </Card>+ <Card title="Alerting" icon="bell" href="/documentation/platform/pki/alerting/overview">+ Get notified via Slack, PagerDuty, or webhooks when certificates expire or lifecycle events occur.+ </Card>+ <Card title="Approval Workflows" icon="check-double" href="/documentation/platform/pki/approvals">+ Require human review before high-value certificates are issued.+ </Card>+</CardGroup>++## How It's Organized++Certificate Manager separates shared infrastructure from team-level operations:++| Level | Entities | Managed by |+|-------|----------|------------|+| **Organization** | Certificate Authorities, Policies, Profiles | Product admins |+| **Application** | Enrollment, Certificates, Alerting, Syncs | Team admins & operators |++This separation means product admins set up PKI once, and teams consume it through Applications without needing to understand the underlying infrastructure.++<Card title="Learn the Concepts" icon="book-open" href="/documentation/platform/pki/getting-started">+ Understand how CAs, Policies, Profiles, and Applications connect.+</Card>diff --git a/docs/documentation/platform/pki/concepts/pqc-algorithms.mdx b/docs/documentation/platform/pki/reference/pqc-algorithms.mdxsimilarity index 100%rename from docs/documentation/platform/pki/concepts/pqc-algorithms.mdxrename to docs/documentation/platform/pki/reference/pqc-algorithms.mdxdiff --git a/docs/documentation/platform/pki/settings/certificate-cleanup.mdx b/docs/documentation/platform/pki/settings/certificate-cleanup.mdxindex 5f5d7d7468..898386a01d 100644--- a/docs/documentation/platform/pki/settings/certificate-cleanup.mdx+++ b/docs/documentation/platform/pki/settings/certificate-cleanup.mdx@@ -1,37 +1,80 @@---title: "Certificate Cleanup"sidebarTitle: "Certificate Cleanup"-description: "Learn how to configure automatic cleanup of expired certificates in Infisical"+description: "Automatically remove expired certificates to keep your inventory organized."----## Concept+Automatically remove expired certificates from your Certificate Manager. Cleanup runs daily and deletes certificates that have been expired for a configurable number of days.-Certificate cleanup is a project-level setting that automatically removes expired certificates on a daily schedule.-Over time, expired certificates accumulate and add clutter to your certificate inventory. Enabling cleanup keeps your project organized by periodically deleting certificates that have been expired for a configurable number of days.+<Info>+ This setting is managed by product admins and applies to all certificates in the Certificate Manager.+</Info>-## Configuring Certificate Cleanup+## Configure Certificate Cleanup-To configure certificate cleanup, head to your Certificate Management Project > Settings > **Certificate Cleanup**.+<Steps>+ <Step title="Navigate to settings">+ Go to **Certificate Manager → Settings → Certificate Cleanup**.++ {/* SCREENSHOT: Certificate cleanup settings page */}+ <Frame caption="Certificate cleanup settings">+ + </Frame>+ </Step>+ <Step title="Enable cleanup">+ Toggle **Enable** to turn on automatic cleanup.+ </Step>+ <Step title="Set retention period">+ Configure **Delete certificates N days after expiration**:++ | Value | Behavior |+ |-------|----------|+ | `3` | Certificates are deleted 3 days after expiration |+ | `7` | Certificates are deleted 7 days after expiration |+ | `30` | Certificates are deleted 30 days after expiration |++ <Note>+ Values must be between 1 and 30 days.+ </Note>+ </Step>+ <Step title="Configure options">+ | Option | Description |+ |--------|-------------|+ | **Skip Certificates with Active Syncs** | Don't delete certificates that are synced to external services (AWS ACM, Azure Key Vault, etc.) |++ <Warning>+ Deleting synced certificates can break integrations. Enable this option if you use certificate syncs.+ </Warning>+ </Step>+</Steps>---### Fields--- **Enable toggle**: Turns automatic cleanup on or off for the project. When disabled, no certificates are removed.-- **Delete certificates N days after expiration**: The number of days a certificate must be expired before it becomes eligible for deletion. For example, setting this to `3` means certificates are removed 3 days after their `notAfter` date. Accepts values between 1 and 30.--### Options--- **Skip Certificates with Active Syncs**: When enabled, certificates that are synced to external services (e.g. AWS Certificate Manager, Azure Key Vault) are not removed. This prevents breaking active integrations that depend on the certificate.--### Last Execution+## Monitoring CleanupAfter the cleanup job runs, the settings page displays:-- **Status**: Whether the last run succeeded or encountered errors.-- **Last Run**: The date and time of the last execution.-- **Certificates Removed**: The number of certificates deleted in the last run.+| Field | Description |+|-------|-------------|+| **Status** | Whether the last run succeeded or failed |+| **Last Run** | Date and time of the last execution |+| **Certificates Removed** | Number of certificates deleted |## Permissions-Only project **Admins** can view and configure certificate cleanup settings.+Only **Product Admins** can configure certificate cleanup settings.++## What's Next?++<CardGroup cols={2}>+ <Card title="Certificate Policies" icon="file-contract" href="/documentation/platform/pki/settings/policies">+ Define constraints for certificates.+ </Card>+ <Card title="Certificate Profiles" icon="id-card" href="/documentation/platform/pki/settings/profiles">+ Create profiles that link CAs with policies.+ </Card>+ <Card title="Managing Certificates" icon="list" href="/documentation/platform/pki/applications/certificates">+ View and manage certificates in Applications.+ </Card>+ <Card title="Certificate Syncs" icon="arrows-rotate" href="/documentation/platform/pki/applications/certificate-syncs/overview">+ Push certificates to cloud destinations.+ </Card>+</CardGroup>diff --git a/docs/documentation/platform/pki/settings/policies.mdx b/docs/documentation/platform/pki/settings/policies.mdxnew file mode 100644index 0000000000..9625962e14--- /dev/null+++ b/docs/documentation/platform/pki/settings/policies.mdx@@ -0,0 +1,138 @@+---+title: "Certificate Policies"+sidebarTitle: "Policies"+description: "Define rules and constraints for certificates issued across your organization."+---++A certificate policy defines the rules that certificates must follow — allowed domains, validity periods, key algorithms, and more. Policies ensure that every certificate issued through Certificate Manager meets your organization's security and compliance requirements.++<Info>+ Certificate policies are created by product admins and shared across the organization. Teams consume policies through [Certificate Profiles](/documentation/platform/pki/settings/profiles).+</Info>++## How Policies Work++When a certificate is requested, Certificate Manager validates the request against the policy bound to its profile. If the request violates any policy constraint, the certificate is not issued.++This enforcement happens automatically — teams don't need to know the policy details. They just request certificates, and the policy ensures compliance.++## Create a Certificate Policy++Navigate to **Certificate Manager → Certificate Policies** and click **Create Policy**.++++++### Basic Settings++| Field | Description |+|-------|-------------|+| **Policy Name** | A slug-friendly name like `tls-server` or `internal-mtls` |+| **Description** | Optional context about this policy's purpose |+| **Certificate Validity** | Maximum lifetime for certificates (e.g., 90 days, 1 year) |++### Subject Attributes++Control what X.509 distinguished name attributes can appear in certificates:++| Attribute | Abbreviation | Example |+|-----------|--------------|---------|+| Common Name | CN | `api.example.com` |+| Organization | O | `Acme Corp` |+| Organizational Unit | OU | `Engineering` |+| Country | C | `US` |+| State/Province | ST | `California` |+| Locality | L | `San Francisco` |++For each attribute, configure enforcement:++<AccordionGroup>+ <Accordion title="Require">+ Values that **must** be present. The request is rejected if the attribute is missing or doesn't match the required pattern.+ </Accordion>+ <Accordion title="Allow">+ Values that are **permitted but not required**. Accepts fixed values or wildcard patterns like `*.example.com`.+ </Accordion>+ <Accordion title="Deny">+ Values that **must not appear**. The request is rejected if the attribute matches a denied pattern.+ </Accordion>+</AccordionGroup>++<Warning>+ Any subject attribute in a certificate request that isn't explicitly defined in the policy will be rejected. If no subject rules are defined, any request with subject attributes will fail.+</Warning>++### Subject Alternative Names (SANs)++Control which SANs can appear on certificates:++| SAN Type | Example Pattern | Use Case |+|----------|-----------------|----------|+| DNS | `*.example.com` | Web servers, APIs |+| IP | `10.0.0.0/8` | Internal services |+| Email | `*@example.com` | S/MIME certificates |+| URI | `spiffe://example.com/*` | SPIFFE identities |++Each SAN rule specifies the type, a pattern (fixed or wildcard), and whether to **allow** or **deny** it.++### Key & Signature Algorithms++Restrict which cryptographic algorithms are permitted:++<Columns cols="2">+ <Card title="Signature Algorithms">+ - SHA256-RSA+ - SHA384-RSA+ - SHA512-RSA+ - SHA256-ECDSA+ - SHA384-ECDSA+ </Card>+ <Card title="Key Algorithms">+ - RSA-2048+ - RSA-4096+ - ECDSA-P256+ - ECDSA-P384+ - Ed25519+ </Card>+</Columns>++### Key Usages++Define the cryptographic purposes of certificates:++| Key Usage | Purpose |+|-----------|---------|+| Digital Signature | Sign data (TLS, code signing) |+| Key Encipherment | Encrypt symmetric keys (TLS with RSA) |+| Key Agreement | Key exchange (ECDH) |+| Certificate Sign | Sign other certificates (CA only) |+| CRL Sign | Sign certificate revocation lists (CA only) |++### Extended Key Usages++Define higher-level intended uses:++| Extended Key Usage | Purpose |+|--------------------|---------|+| Server Authentication | TLS servers |+| Client Authentication | mTLS clients |+| Code Signing | Software artifacts |+| Email Protection | S/MIME |+| OCSP Signing | OCSP responders |++### Basic Constraints++Control whether certificates can act as CAs:++| Setting | Effect |+|---------|--------|+| **Forbid CA** | Certificates are end-entity only — cannot sign other certificates |+| **Allow CA** | Certificates can be either CA or end-entity based on request |+| **Require CA** | All certificates must be CAs (for Root/Intermediate CA policies) |++**Maximum Path Length**: Limits how many intermediate CAs can exist below this certificate. `0` means the CA can only sign end-entity certificates.++## Next Steps++Once you've created a policy, combine it with a CA in a [Certificate Profile](/documentation/platform/pki/settings/profiles) that teams can consume.diff --git a/docs/documentation/platform/pki/settings/profiles.mdx b/docs/documentation/platform/pki/settings/profiles.mdxnew file mode 100644index 0000000000..fb3b4bdc72--- /dev/null+++ b/docs/documentation/platform/pki/settings/profiles.mdx@@ -0,0 +1,121 @@+---+title: "Certificate Profiles"+sidebarTitle: "Profiles"+description: "Create reusable certificate templates that teams consume through Applications."+---++A certificate profile combines a [Certificate Authority](/documentation/platform/pki/ca/overview) with a [Certificate Policy](/documentation/platform/pki/settings/policies) to define how certificates are issued. Profiles are reusable templates that product admins create once and teams consume through [Applications](/documentation/platform/pki/applications/overview).++<Info>+ Think of a profile as the "shape" of a certificate — it defines the CA that signs it, the rules it must follow, and sensible defaults for common fields.+</Info>++## Why Profiles?++Profiles solve a common problem: you want consistency across certificates without requiring every team to understand PKI details.++| Without Profiles | With Profiles |+|------------------|---------------|+| Teams configure CA, policy, TTL, algorithms manually | Teams pick a profile and request certificates |+| Risk of misconfiguration | Guardrails enforced automatically |+| Duplicate setup across services | One profile used by many Applications |++## Create a Certificate Profile++Navigate to **Certificate Manager → Certificate Profiles** and click **Create Profile**.++++++### Configuration++| Field | Description |+|-------|-------------|+| **Name** | A slug-friendly name like `web-servers` or `internal-mtls` |+| **Description** | Optional context about this profile's purpose |+| **Issuer Type** | `Certificate Authority` or `Self-Signed` |+| **Issuing CA** | The CA that signs certificates (if Issuer Type is CA) |+| **Certificate Policy** | The policy that validates certificate requests |++<Note>+ If **Issuer Type** is `Self-Signed`, the profile only supports API enrollment and issues self-signed certificates.+</Note>++### Profile Defaults++The **Certificate Details** tab lets you pre-configure sensible defaults for certificate fields:++++When a requester doesn't specify a value, the profile default is applied automatically. This simplifies certificate requests — teams can issue certificates without making decisions about every field.++Defaults can be configured for:+- **TTL** (validity period)+- **Subject attributes** (CN, O, OU, C, ST, L)+- **Key algorithm** (RSA-2048, ECDSA-P256, etc.)+- **Signature algorithm**+- **Key usages** and **Extended key usages**+- **Basic constraints**++<Accordion title="Combining defaults with policies">+ For the simplest requester experience, pair defaults with a tightly scoped policy.++ **Example:** If your policy only allows `RSA-4096` and you set `RSA-4096` as the default, requesters never need to think about key algorithms. The profile handles it automatically.++ This pattern works for any field — narrow the policy to one option, set that as the default, and requesters have nothing left to decide.+</Accordion>++<Warning>+ If the certificate policy is updated after the profile is saved, existing defaults may no longer comply. Certificate requests will fail at validation until you update the profile defaults to match the new policy.+</Warning>++## How Profiles Are Used++Teams don't interact with profiles directly. Instead:++<Steps>+ <Step title="Product admin creates a profile">+ Combines a CA + policy + defaults into a reusable template.+ </Step>+ <Step title="Product admin creates an Application">+ Creates an Application, attaches the profile, and assigns team members.+ </Step>+ <Step title="Team configures enrollment">+ Assigned team members set up API, ACME, EST, or SCEP enrollment on their Application.+ </Step>+ <Step title="Certificates are issued">+ Requests are validated against the profile's policy and signed by the profile's CA.+ </Step>+</Steps>++This separation means one profile can serve many Applications. When you need to update certificate rules, update the profile or policy — all Applications using it get the change automatically.++## FAQ++<AccordionGroup>+ <Accordion title="What's the difference between a Profile and a Policy?">+ A **Policy** defines rules — what's allowed, what's required, what's forbidden.++ A **Profile** combines a policy with a CA and defaults to create a complete, consumable template.++ You might have one policy (`strict-tls`) used by multiple profiles (`web-servers-digicert`, `web-servers-internal`), each pointing to a different CA.+ </Accordion>+ <Accordion title="Can I change the CA on an existing profile?">+ Yes, but be careful. Existing certificates remain valid (signed by the old CA), but new certificates will be signed by the new CA. Clients trusting only the old CA won't trust new certificates.+ </Accordion>+ <Accordion title="What happens if I delete a profile?">+ Applications using that profile can no longer issue new certificates. Existing certificates remain valid until they expire or are revoked.+ </Accordion>+</AccordionGroup>++## Next Steps++<CardGroup cols={2}>+ <Card title="Certificate Policies" icon="shield-check" href="/documentation/platform/pki/settings/policies">+ Define the rules that profiles enforce.+ </Card>+ <Card title="Applications" icon="grid-2" href="/documentation/platform/pki/applications/overview">+ See how teams consume profiles through Applications.+ </Card>+</CardGroup>diff --git a/docs/images/pki/placeholder-screenshot.svg b/docs/images/pki/placeholder-screenshot.svgnew file mode 100644index 0000000000..aa628f9de7--- /dev/null+++ b/docs/images/pki/placeholder-screenshot.svg@@ -0,0 +1,20 @@+<svg width="800" height="450" viewBox="0 0 800 450" fill="none" xmlns="http://www.w3.org/2000/svg">+ <rect width="800" height="450" fill="#F8FAFC"/>+ <rect x="1" y="1" width="798" height="448" rx="7" stroke="#E2E8F0" stroke-width="2" stroke-dasharray="8 4"/>++ <!-- Camera icon -->+ <g transform="translate(350, 150)">+ <rect x="10" y="25" width="80" height="55" rx="8" stroke="#94A3B8" stroke-width="3" fill="none"/>+ <circle cx="50" cy="52" r="18" stroke="#94A3B8" stroke-width="3" fill="none"/>+ <rect x="30" y="15" width="40" height="15" rx="4" stroke="#94A3B8" stroke-width="3" fill="none"/>+ <circle cx="50" cy="52" r="8" fill="#94A3B8"/>+ </g>++ <!-- Text -->+ <text x="400" y="280" font-family="system-ui, -apple-system, sans-serif" font-size="24" font-weight="600" fill="#64748B" text-anchor="middle">+ Screenshot Coming Soon+ </text>+ <text x="400" y="310" font-family="system-ui, -apple-system, sans-serif" font-size="14" fill="#94A3B8" text-anchor="middle">+ This placeholder will be replaced with an actual screenshot+ </text>+</svg>