Start sketching out advanced SSL config.

This commit is contained in:
Sage Vaillancourt 2022-08-21 23:14:10 -04:00
parent d03d1fbfcc
commit d7fe000d8b
2 changed files with 13 additions and 1 deletions

View File

@ -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>

View File

@ -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',