--- title: "Generate next CA Certificate." slug: "generate-next-ca-certificate-1" updated: 2026-03-02T22:30:52Z published: 2026-03-02T22:35:52Z canonical: "support.appgate.com/generate-next-ca-certificate-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.appgate.com/llms.txt > Use this file to discover all available pages before exploring further. # Generate next CA Certificate. Post/certificate-authority/ca/next/generate Generate a new self-signed next CA certificate for migration. SecurityHTTPType bearer Body parameters CA parameters. object subjectstring X509 subject name for the CA certificate. Default"CN=Appgate SDP CA" validityYearsnumber How long the new CA certificate will be valid. Default10.0 Responses200 Generated CA certificate details with the certificate encoded in PEM format. object versionnumber X.509 certificate version. Example3.0 serialstring X.509 certificate serial number. Example1542962969512 issuerstring The issuer name of the certificate. ExampleCN=Appgate SDP CA subjectstring The subject name of the certificate. ExampleCN=Appgate SDP CA validFromstring (date-time) Since when the certificate is valid from. validTostring (date-time) Until when the certificate is valid. fingerprintstring SHA256 fingerprint of the certificate. Exampled30247cee99a056c5ecdc409549165886d02925f9c64b681dff3d2ecf653355f certificatestring (byte) Base64 encoded binary of the certificate. Either DER or PEM formatted depending on the request. subjectPublicKeystring (byte) Base64 encoded public key of the certificate. nameConstraintsPermitted Array of string Name constraints extension details for permitted hostnames or IPs. string Exampleappgate.company.com nameConstraintsExcluded Array of string Name constraints extension details for excluded hostnames or IPs. string Examplecompany.com crlUrlstring The URL where the CRL is hosted. Examplehttps://authority.company.com/appgate.crl 401 Token error. Login again. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 403 Insufficient permissions to access this resource. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 406 Invalid 'Accept' header. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details. 500 Unexpected server side error. object Generic HTTP error. idstring Machine readable error code. messagestring Human readable error details.