{{#if replaceCA}}

{{#if needsConfig}} Configure CA Certificate {{else}} Replace CA Certificate {{/if}}

{{#if (or model.certificate model.csr)}} {{#each model.attrs as |attr|}} {{#if attr.options.masked}} {{else if (eq attr.name "expiration")}} {{info-table-row data-test-table-row label=(capitalize (or attr.options.label (humanize (dasherize attr.name)))) value=(date-format (get model attr.name) 'MMM dd, yyyy hh:mm:ss a') }} {{else}} {{info-table-row data-test-table-row label=(capitalize (or attr.options.label (humanize (dasherize attr.name)))) value=(get model attr.name) }} {{/if}} {{/each}}
Copy {{if model.certificate "Certificate" "CSR"}}
{{else}}
{{#if model.uploadPemBundle}} {{/if}} {{partial "partials/form-field-groups-loop"}}
{{#if model.canDeleteRoot}} Delete {{/if}}
{{/if}} {{else if signIntermediate}} {{#if (or model.certificate)}} {{#each model.attrs as |attr|}} {{#if attr.options.masked}} {{else}} {{info-table-row data-test-table-row label=(capitalize (or attr.options.label (humanize (dasherize attr.name)))) value=(get model attr.name)}} {{/if}} {{/each}}
Copy Certificate
{{else}}

Sign intermediate

{{partial "partials/form-field-groups-loop"}}
{{/if}} {{else if setSignedIntermediate}}

Set signed intermediate

Submit a signed CA certificate corresponding to a generated private key.

{{textarea data-test-signed-intermediate class="textarea" id="certificate" name="certificate" value=model.certificate}}
{{else}}

This is the default CA certificate used in Vault. It is not used for self-signed certificates or if you have a signed intermediate CA certificate with a generated key.

{{#each downloadHrefs as |dl|}} {{/each}}
{{#if config.pem}}
{{/if}}
{{/if}}