{{if @newRootModel.id "View Issuer Certificate" "Generate New Root"}}

{{#if @newRootModel.id}} Cross-sign issuers Sign Intermediate Download Configure {{/if}} {{#if @newRootModel.id}}
Next steps Your new root has been generated. {{#if @newRootModel.privateKey}} Make sure to copy and save the private_key as it is only available once. {{/if}} If you’re ready, you can begin cross-signing issuers now. If not, the option to cross-sign is available when you use this certificate.
{{else}}
{{#each this.generateOptions as |option|}} {{/each}}
{{/if}} {{#if (eq this.displayedForm "use-old-settings")}} {{#if @newRootModel.id}}
{{else}} {{! USE OLD SETTINGS FORM INPUTS }}
{{#if @parsingErrors}} Not all of the certificate values can be parsed and transferred to a new root {{@parsingErrors}} {{/if}} {{#if this.alertBanner}} Error {{this.alertBanner}} {{/if}} {{#let (find-by "name" "commonName" @newRootModel.allFields) as |attr|}} {{/let}} {{#let (find-by "name" "issuerName" @newRootModel.allFields) as |attr|}} {{/let}}
{{#if this.showOldSettings}} {{/if}}
{{#if this.invalidFormAlert}}
{{/if}}
{{/if}} {{else}} {{/if}}