40 lines
1.8 KiB
Smarty
40 lines
1.8 KiB
Smarty
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">mTLS client certificate</h3></div>
|
|
<div class="panel-body">
|
|
<p>
|
|
<a href="{{modulelink}}" class="btn btn-default">Dashboard</a>
|
|
<a href="{{modulelink}}&action=mappings" class="btn btn-default">Mappings</a>
|
|
</p>
|
|
|
|
<table class="table table-striped">
|
|
<tr><th>GameCloud mTLS enforced</th><td>{{status.mtlsEnabled}}</td></tr>
|
|
<tr><th>Fingerprint registered</th><td>{{status.fingerprintRegistered}}</td></tr>
|
|
<tr><th>Preview</th><td>{{status.fingerprintPreview}}</td></tr>
|
|
<tr><th>Subject</th><td>{{status.subject}}</td></tr>
|
|
<tr><th>Configured in addon</th><td>{{fingerprint_configured}}</td></tr>
|
|
</table>
|
|
|
|
<form method="post" action="{{modulelink}}&action=register_mtls" class="form-horizontal">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">SHA-256 fingerprint</label>
|
|
<div class="col-sm-9">
|
|
<input type="text" name="fingerprint" class="form-control" placeholder="hex without colons" required>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">Subject CN (optional)</label>
|
|
<div class="col-sm-9">
|
|
<input type="text" name="subject" class="form-control" placeholder="whmcs-integration-client">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-sm-offset-3 col-sm-9">
|
|
<button type="submit" class="btn btn-primary">Register fingerprint on GameCloud</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<p class="help-block">Enable <code>INTEGRATION_MTLS_ENABLED=true</code> on GameCloud and terminate TLS at your reverse proxy with client certificate verification.</p>
|
|
</div>
|
|
</div>
|