CertEnroll Renew
CertEnroll Renew
Certificate renewal in Keyfactor Command allows a certificate to be issued based on data from an existing certificate. Some configurations, such as the issuing CA A certificate authority (CA) is an entity that issues digital certificates. Within Keyfactor Command, a CA may be a Microsoft CA or a Keyfactor gateway to a cloud-based or remote CA. and template
A certificate template defines the policies and rules that a CA uses when a request for a certificate is received., can be made to differ between the original certificate and the renewed one. At renewal time, the new certificate can also be automatically delivered to different certificate stores managed by Keyfactor Command Agents, replacing the old certificates. This provides an easy mechanism to quickly replace expiring or compromised certificates, migrate deployed certificates from one PKI
A public key infrastructure (PKI) is a set of roles, policies, and procedures needed to create, manage, distribute, use, store and revoke digital certificates and manage public-key encryption. to another, or replace certificates with similar certificates using more secure cryptographic algorithms. The Renew Web API
A set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. method, along with the web console and expiration alert handlers, allows access to this renewal functionality. The structure of a renew request is given Table 680: POST /3/Renew Request Body, and the response in Table 681: POST /3/Renew Response Body.
Table 680: POST /3/Renew Request Body
Table 681: POST /3/Renew Response Body
Parameter Name |
Parameter Value |
---|---|
Thumbprint |
Thumbprint of the issued certificate. |
CMSRequestId |
Identifier for the certificate request in Keyfactor Command, if certificate is pending issuance. |
RequestDisposition |
Value returned by the CA in response to this certificate request. |
DispositionMessage |
Message accompanying the disposition value returned by the CA. |
RenewedCertStores |
List of certstores that had a certificate addition job scheduled successfully. The certstores will be listed in the format "<Store machine >-<Store path>". |
Example Request
POST http://<host>/CMSApi/CertEnroll/3/Renew HTTP/1.1
{ "Lookup": {"Type" : "CMSID", "CMSID" : 7}, "CertStores": ["<Guid>"], "Template": "UserServer", "CAConfiguration" : "CA1.jdk.com\\jdk-CA1", "Metadata":{"Email-Contact":"a.b@example.com"} }
Example Response
{ "RenewedCertStores": ["192.168.41.171-/home/pi/cherry/cherrystore"], "Thumbprint": "46CCE7023bce5c434f4206b74473fd614df56218", "CMSRequestId": 0, "RequestDisposition": "Issued", "DispositionMessage": "The certificate renewal has been completed successfully. Agent jobs to install the new certificate have been created." }