Viewing File: /usr/local/cpanel/whostmgr/docroot/cgi/ncssl/source/templates/issue-form.html.twig
<form action="{{ actionUrl }}" method="post" data-activation-form>
<div class="activation_fields">
{% if product_data.common_name is defined and product_data.common_name is not null %}
<input type="hidden" class="domain" name="data[domain]" value="{{ product_data.common_name }}" data-domain-hidden-select />
{% else %}
<div class="form-group">
<label for="select-domain">Domain:</label>
<select class="form-select" name="data[domain]" id="select-domain" data-domain-select>
<option value="">- select domain -</option>
{% for domain in domains %}
{% if product_data.wildcard %}
<option value="*.{{ domain }}">*.{{ domain }}</option>
{% else %}
<option value="{{ domain }}">{{ domain }}</option>
<option value="www.{{ domain }}">www.{{ domain }}</option>
{% endif %}
{% endfor %}
</select>
</div>
{% endif %}
<div class="callout callout-danger hide" data-cert-replace-error>
<h4>Replace existing SSL certificate?</h4>
<p>There is an SSL certificate on this domain. {{ productManager.getNameByType(product_data.type) }} will replace existing SSL when installed.</p>
<p>
<button type="button" class="btn btn-danger" data-do-ssl-replace>Yes, replace</button>
{# Hide untill download functionality is released #}
{#<button type="button"
class="btn btn-light downloadCert"
data-name="certificate"
data-download-cert
data-bs-toggle="modal"
data-bs-target="#downloadCertModal"
data-id="">Download existing SSL</button>#}
</p>
</div>
<div class="callout callout-info hide" data-cert-replace-info>
<p>Existing SSL will be uninstalled when we install new SSL</p>
</div>
<div class="hide" data-activation-fields>
<div class="form-group">
<label class="form-label" for="admin-email">Admin details:</label>
<input
class="form-control"
id="admin-email"
name="data[email]"
value="{{ form_data.email }}"
type="email"
placeholder="Email to send SSL to">
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary" data-submit data-ncssl-loading="Installing..">Install Certificate</button>
</div>
</div>
<input type="hidden" name="data[cert][nc_id]" value="{{ product_data.nc_id }}" />
<input type="hidden" name="data[cert][type]" value="{{ product_data.type }}" />
<input type="hidden" name="data[cert][years]" value="{{ product_data.years }}" />
</div>
</form>
Back to Directory
File Manager