CMS 2.0
This commit is contained in:
Vendored
+2503
File diff suppressed because it is too large
Load Diff
+56
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<hivemq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/peez80/docker-hivemq/master/hivemq-config.xsd"
|
||||
>
|
||||
<listeners>
|
||||
<!-- MQTT port without TLS -->
|
||||
<tcp-listener>
|
||||
<port>1883</port>
|
||||
<bind-address>0.0.0.0</bind-address>
|
||||
</tcp-listener>
|
||||
|
||||
<!-- MQTT port with TLS but without client certificate validation -->
|
||||
<tls-tcp-listener>
|
||||
<port>8883</port>
|
||||
<bind-address>0.0.0.0</bind-address>
|
||||
<tls>
|
||||
<keystore>
|
||||
<path>/hivemq-certs/server.jks</path>
|
||||
<password>s3cr3t</password>
|
||||
<private-key-password>s3cr3t</private-key-password>
|
||||
</keystore>
|
||||
<protocols>
|
||||
<protocol>TLSv1.3</protocol>
|
||||
<protocol>TLSv1.2</protocol>
|
||||
<protocol>TLSv1.1</protocol>
|
||||
<protocol>TLSv1</protocol>
|
||||
</protocols>
|
||||
</tls>
|
||||
</tls-tcp-listener>
|
||||
|
||||
<!-- MQTT port with TLS and with client certificate validation -->
|
||||
<tls-tcp-listener>
|
||||
<port>8884</port>
|
||||
<bind-address>0.0.0.0</bind-address>
|
||||
<tls>
|
||||
<client-authentication-mode>REQUIRED</client-authentication-mode>
|
||||
<truststore>
|
||||
<path>/hivemq-certs/ca.jks</path>
|
||||
<password>s3cr3t</password>
|
||||
</truststore>
|
||||
<keystore>
|
||||
<path>/hivemq-certs/server.jks</path>
|
||||
<password>s3cr3t</password>
|
||||
<private-key-password>s3cr3t</private-key-password>
|
||||
</keystore>
|
||||
<protocols>
|
||||
<protocol>TLSv1.3</protocol>
|
||||
<protocol>TLSv1.2</protocol>
|
||||
<protocol>TLSv1.1</protocol>
|
||||
<protocol>TLSv1</protocol>
|
||||
</protocols>
|
||||
</tls>
|
||||
</tls-tcp-listener>
|
||||
|
||||
</listeners>
|
||||
</hivemq>
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
# Config file for mosquitto
|
||||
per_listener_settings true
|
||||
|
||||
# Port to use for the default listener.
|
||||
listener 1883
|
||||
allow_anonymous true
|
||||
|
||||
# Port to use for the default listener with authentication.
|
||||
listener 1884
|
||||
password_file /mosquitto/config/mosquitto.passwd
|
||||
allow_anonymous false
|
||||
|
||||
# =================================================================
|
||||
# Extra listeners
|
||||
# =================================================================
|
||||
|
||||
# TLS listener without client certificate requirement
|
||||
listener 8883
|
||||
cafile /mosquitto-certs/ca.crt
|
||||
certfile /mosquitto-certs/server.crt
|
||||
keyfile /mosquitto-certs/server.key
|
||||
require_certificate false
|
||||
allow_anonymous true
|
||||
|
||||
# TLS listener with client certificate requirement
|
||||
listener 8884
|
||||
cafile /mosquitto-certs/ca.crt
|
||||
certfile /mosquitto-certs/server.crt
|
||||
keyfile /mosquitto-certs/server.key
|
||||
require_certificate true
|
||||
allow_anonymous true
|
||||
+1
@@ -0,0 +1 @@
|
||||
ci-test-user:$6$QypQBNSQKE5bg6Ec$nzACfxhQ9qiYFByPPM/6GP/9kOWwDzEftN0EJPkS6M0PWqL55jAbBxUO863oWwhJ2q/YaubfLbe3xwwhBuoStQ==
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
listeners.tcp.default = 5672
|
||||
loopback_users.guest = false
|
||||
|
||||
mqtt.listeners.tcp.default = 1883
|
||||
mqtt.listeners.ssl = none
|
||||
mqtt.allow_anonymous = true
|
||||
mqtt.default_user = guest
|
||||
mqtt.default_pass = guest
|
||||
mqtt.vhost = /
|
||||
mqtt.exchange = amq.topic
|
||||
mqtt.subscription_ttl = 1800000
|
||||
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
||||
Reference in New Issue
Block a user