defaults.ini Explained
The installation process generates a defaults.ini
file in /etc/autosol/defaults.ini
which contains a set of values that define the properties of the server.
This file contains a set of values that define the properties of the server.
When installing, the prompts allow you to enter a default broker IP:Port, username/password and if you want to set enable TLS.
TLS will use the default server.crt the unit ships with, which allows for most simple unverified TLS connections.
Would you like to set default values for this Edge Node? (y/n) y
Edge Node name [Unnamed Node]: MyNode
Configure Broker settings? [n] (y/n): y
Broker IP [localhost]: 127.0.0.1
Broker Port [1883]: 8883
Username []: brokerusername
Password []: brokerpassword
Enable TLS? [False] (y/n): y
Â
File type properties (cafile, certfile, keyfile) expect a valid file path to a file located in the unit upon usage of the defaults.ini
The defaults.ini
has three default sections:
CONTROL
apply: If set to True, the server will use the default values upon a server restart.
SERVER
name: Name of the Node
compress:
https:
wildcardname: If set to True, a random 4 digit number will be appended to the name.
BROKER1
These properties are related to broker connections. See MQTT TLS for full details.
Â
[CONTROL]
apply = False
[SERVER]
name = MyNode
compress = True
https = False
wildcardname = False
[BROKER1]
enabled = True
brokerip = 127.0.0.1
brokerport = 8883
connectionretries = 4
connectionretryinterval = 30000
keepalive = 60
clientid =
cleansession = True
protocolversion = MQTT 3.1
username = brokerusername
password = brokerpassword
enabletls = True
tlsversion = TLS v1.2
cafile =
certfile =
keyfile =
keypassword =
verifycertificate = False
[BROKER2]
...
Â
For assistance, please submit a ticket via our Support Portal, email autosol.support@autosoln.com or call 281.286.6017 to speak to a support team member.