cockpit/pkg/kubernetes/views/auth-rejected-cert.html

36 lines
1.2 KiB
HTML

<div class="modal-body">
<p translate>The server uses a certificate signed by an unknown authority.</p>
<p translate>You can bypass the certificate check, but any data you send to the server could be intercepted by others.</p>
<table class="form-table-ct">
<tr>
<td></td>
<td>
<label>
<input type="radio" ng-model="action" value="skip">
<span translate>Skip Certificate Verification</span>
</label>
</td>
</tr>
<tr ng-class="{hidden: !details}">
<td></td>
<td>
<label >
<input type="radio" ng-model="action" value="pem">
<span translate>Trust this certificate for this connection</span>
</label>
<pre class="dialog">{{ details }}</pre>
</td>
</tr>
</table>
</div>
<div class="modal-footer">
<button class="btn btn-default btn-cancel" ng-click="$dismiss()" translate>Cancel</button>
<button ng-if="error.problem != 'untrusted-host'" class="btn btn-primary" ng-click="complete(update())">
<span translate>Connect</span>
</button>
</div>