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
misc: added get latest active cert bundle to docs
Sheen Capadngan6a7a413fd322
diff --git a/docs/api-reference/endpoints/certificate-profiles/get-latest-active-bundle.mdx b/docs/api-reference/endpoints/certificate-profiles/get-latest-active-bundle.mdxnew file mode 100644index 0000000000..aa033418db--- /dev/null+++ b/docs/api-reference/endpoints/certificate-profiles/get-latest-active-bundle.mdx@@ -0,0 +1,4 @@+---+title: "Get Latest Active Certificate Bundle"+openapi: "GET /api/v1/pki/certificate-profiles/{id}/certificates/latest-active-bundle"+---\ No newline at end of filediff --git a/docs/docs.json b/docs/docs.jsonindex dd74fb6707..8cce3197dd 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -2644,7 +2644,8 @@"api-reference/endpoints/certificate-profiles/get-by-id","api-reference/endpoints/certificate-profiles/get-by-slug","api-reference/endpoints/certificate-profiles/delete",- "api-reference/endpoints/certificate-profiles/list-certificates"+ "api-reference/endpoints/certificate-profiles/list-certificates",+ "api-reference/endpoints/certificate-profiles/get-latest-active-bundle"]},{diff --git a/docs/documentation/platform/pki/certificates/certificates.mdx b/docs/documentation/platform/pki/certificates/certificates.mdxindex bc3698e6c9..b30a53091e 100644--- a/docs/documentation/platform/pki/certificates/certificates.mdx+++ b/docs/documentation/platform/pki/certificates/certificates.mdx@@ -48,6 +48,12 @@ The resulting renewed certificate is stored in the platform and made available tNote 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, you may connect an ACME client like [certbot](https://certbot.eff.org/) to fetch back and renew certificates for Apache, Nginx, 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.