[%# INTERFACE
ssl_browse_html - browse controls (not really part of the form)
ssl_form_top - top form elements
ssl_form_extra_section - an extra section after the "top form elements"
ssl_form_crt - preloaded cert
-%]
<form action="javascript:void(0)" name="mainform" method="POST" id="mainform">
<div class="section">
[% ssl_browse_html -%]
</div>
<div class="section middle-buttons">
<div id="msg"></div>
[% ssl_form_top -%]
</div>
[% IF ssl_form_extra_section -%]
<div class="section">[% ssl_form_extra_section %]</div>
[% END -%]
<div id="ssl_pems">
<div class="section">
<div class="action">
<label for="sslcrt">[% locale.maketext("Certificate:") %]</label>
<span id="sslcrt_error"></span>
<input type="button" id="fetch-cert" value="[% locale.maketext('Autofill by Certificate') %]" style='display:none;' title="[% locale.maketext('Fill this form’s other text boxes with values that match this certificate.') %]" class="btn-secondary" disabled="disabled">
</div>
<textarea rows="8" cols="64" name="crt" id="sslcrt" dir="ltr"></textarea>
<div id="cert_parse" class="textarea-parse"></div>
<div id="sslcrt_description" class="description">
[% locale.maketext('The certificate may already exist on the server. You can automatically fill the certificate or paste the entire [asis,.crt] file above.') %]
</div>
</div>
<div class="section">
<div class="action">
<label for="sslkey">[% locale.maketext("Private Key:") %]</label>
<span id="sslkey_error"></span>
</div>
<textarea id="sslkey" rows="8" cols="64" name="key" dir="ltr"></textarea>
<div id="sslkey_description" class="description">
[% locale.maketext("The key may already exist on the server. You can automatically fill the key or paste the entire [asis,.key] file above.") %]
</div>
</div>
<div id="sslcab_section" class="section">
<div class="action">
<label for="sslcab">[% locale.maketext("Certificate Authority Bundle:") %]</label>
<span id="sslcab_error"></span>
</div>
<textarea id="sslcab" rows="8" cols="64" name="cabundle" dir="ltr"></textarea>
<div class="description">[% locale.maketext('In most cases, you do not need to supply the CA bundle. The server will retrieve it from a public repository during installation.') %]</div>
</div>
</div>
<input type="submit" class="btn-primary first" value="[% locale.maketext('Install') %]" id="btnInstall">
<input type="reset" class="btn-cancel" value="[% locale.maketext('Reset') %]" id="clear-bottom">
</form>