Start sketching out advanced SSL config.
This commit is contained in:
parent
d03d1fbfcc
commit
d7fe000d8b
|
@ -96,7 +96,18 @@
|
||||||
|
|
||||||
<div class="settings-option">
|
<div class="settings-option">
|
||||||
<div>
|
<div>
|
||||||
Use SSL: <input type=checkbox bind:checked={config.ssl}>
|
SSL:
|
||||||
|
<select bind:value={config.ssl}>
|
||||||
|
<option value={true}>True</option>
|
||||||
|
<option value={false}>False</option>
|
||||||
|
<option value={{}}>Advanced</option>
|
||||||
|
</select>
|
||||||
|
{#if typeof(config.ssl) === 'object'}
|
||||||
|
<div>
|
||||||
|
Reject Unauthorized
|
||||||
|
<input type="checkbox" bind:checked={config.ssl.rejectUnauthorized}>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ const mockApi = {
|
||||||
'TestCluster': {
|
'TestCluster': {
|
||||||
clientId: 'TestClient',
|
clientId: 'TestClient',
|
||||||
brokers: ['testbroker.com:5000'],
|
brokers: ['testbroker.com:5000'],
|
||||||
|
ssl: true,
|
||||||
sasl: {
|
sasl: {
|
||||||
mechanism: 'SCRAM-SHA-512',
|
mechanism: 'SCRAM-SHA-512',
|
||||||
username: 'testuser',
|
username: 'testuser',
|
||||||
|
|
Loading…
Reference in New Issue