-
Notifications
You must be signed in to change notification settings - Fork 137
Submitting Certificate Renewal Request
Endi S. Dewata edited this page Jan 12, 2021
·
5 revisions
To renew a certificate:
$ pki ca-cert-request-submit --profile caManualRenewal --serial 0x6 --renewal ----------------------------- Submitted certificate request ----------------------------- Request ID: 28 Type: renewal Request Status: pending Operation Result: success
To renew CA certificate:
$ pki ca-cert-request-submit --profile caCACert --csr-file ca_signing.csr --renewal --serial 0x1 ----------------------------- Submitted certificate request ----------------------------- Request ID: 7 Type: enrollment Request Status: pending Operation Result: success
In PKI 10.3 or earlier, first download the certificate renewal profile:
$ pki ca-cert-request-profile-show caManualRenewal --output caManualRenewal.xml
Specify the serial number of the certificate to be renewed either:
-
in the
<Value>
element within the<Attribute name="serial_num">
element (preferred), or -
in the
<SerialNumber>
element (to be deprecated).
The serial can be specified in decimal number or hexadecimal number with 0x prefix.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <CertEnrollmentRequest> <Attributes/> <ProfileID>caManualRenewal</ProfileID> <Renewal>true</Renewal> <SerialNumber><font color="red">serial</font></SerialNumber> <RemoteHost></RemoteHost> <RemoteAddress></RemoteAddress> <Input id="i1"> <ClassID>serialNumRenewInputImpl</ClassID> <Name>Serial Number of Certificate to Renew</Name> <Attribute name="serial_num"> <Value><font color="red">serial</font></Value> <Descriptor> <Syntax>string</Syntax> <Description>Serial Number of Certificate to Renew</Description> </Descriptor> </Attribute> </Input> </CertEnrollmentRequest>
Then submit the request:
$ pki ca-cert-request-submit caManualRenewal.xml ----------------------------- Submitted certificate request ----------------------------- Request ID: 28 Type: renewal Request Status: pending Operation Result: success
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |