Skip to content

Commit

Permalink
Feat: TLS configuration in broker config
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 committed Dec 7, 2023
1 parent b1e5f1c commit b4f51ab
Show file tree
Hide file tree
Showing 3 changed files with 735 additions and 52 deletions.
30 changes: 28 additions & 2 deletions src/groups/mqb/mqbcfg/mqbcfg.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
bmqconfConfig........: configuration for bmqconf
plugins..............: configuration for the plugins
msgPropertiesSupport.: information about if/how to advertise support for v2 message properties
configureStream......: send new ConfigureStream instead of old ConfigureQueue/>
configureStream......: send new ConfigureStream instead of old ConfigureQueue
tls..................: optional configuation for TLS
</documentation>
</annotation>
<sequence>
Expand All @@ -97,6 +98,7 @@
<element name='plugins' type='tns:Plugins'/>
<element name='messagePropertiesV2' type='tns:MessagePropertiesV2'/>
<element name='configureStream' type='boolean' default='false'/>
<element name="tls" type='tns:TlsConfig' minOccurs='0'/>
</sequence>
</complexType>

Expand Down Expand Up @@ -239,9 +241,11 @@
heartbeatIntervalMs..:
How often (in milliseconds) to check if the channel received data,
and emit heartbeat. 0 to globally disable.
useNtf...............:
useNtf...............:
Use the new NTF based TCP transport library instead of
the existing one based on BTE
tls.................:
Use TLS on this interface.
</documentation>
</annotation>
<sequence>
Expand All @@ -255,6 +259,7 @@
<element name='nodeHighWatermark' type='long' default='2048'/>
<element name='heartbeatIntervalMs' type='int' default='3000'/>
<element name='useNtf' type='boolean' default='false'/>
<element name='tls' type='boolean' default='false'/>
</sequence>
</complexType>

Expand All @@ -271,6 +276,27 @@
</sequence>
</complexType>

<complexType name='TlsConfig'>
<annotation>
<documentation>
certificateAuthority.:
A path to the FILE, containing concatenation of known certificates
the server can use to reference as its certificate store.
certificate..........:
A path to the FILE, containing the certificate the broker will use
to identify itself to other clients.
key..................:
A path to the FILE, containing the private key that the broker uses
to read the certificate.
</documentation>
</annotation>
<sequence>
<element name='certificateAuthority' type='string'/>
<element name='certificate' type='string'/>
<element name='key' type='string'/>
</sequence>
</complexType>

<!-- ========================================================================
DOMAIN_RESOLUTION
========================================================================= -->
Expand Down
Loading

0 comments on commit b4f51ab

Please sign in to comment.