mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-29 18:02:29 +00:00
147 lines
5.0 KiB
Properties
147 lines
5.0 KiB
Properties
#
|
|
# uCentral protocol server for devices. This is where you point
|
|
# all your devices. You can replace the * for address by the specific
|
|
# address of one of your interfaces
|
|
#
|
|
|
|
#
|
|
# REST API access
|
|
#
|
|
openwifi.restapi.host.0.backlog = 100
|
|
openwifi.restapi.host.0.security = relaxed
|
|
openwifi.restapi.host.0.rootca = $OWSEC_ROOT/certs/restapi-ca.pem
|
|
openwifi.restapi.host.0.address = *
|
|
openwifi.restapi.host.0.port = 16001
|
|
openwifi.restapi.host.0.cert = $OWSEC_ROOT/certs/restapi-cert.pem
|
|
openwifi.restapi.host.0.key = $OWSEC_ROOT/certs/restapi-key.pem
|
|
openwifi.restapi.host.0.key.password = mypassword
|
|
openwifi.restapi.wwwassets = $OWSEC_ROOT/wwwassets
|
|
|
|
openwifi.internal.restapi.host.0.backlog = 100
|
|
openwifi.internal.restapi.host.0.security = relaxed
|
|
openwifi.internal.restapi.host.0.rootca = $OWSEC_ROOT/certs/restapi-ca.pem
|
|
openwifi.internal.restapi.host.0.address = *
|
|
openwifi.internal.restapi.host.0.port = 17001
|
|
openwifi.internal.restapi.host.0.cert = $OWSEC_ROOT/certs/restapi-cert.pem
|
|
openwifi.internal.restapi.host.0.key = $OWSEC_ROOT/certs/restapi-key.pem
|
|
openwifi.internal.restapi.host.0.key.password = mypassword
|
|
|
|
#
|
|
# Generic section that all microservices must have
|
|
#
|
|
authentication.enabled = true
|
|
authentication.default.username = tip@ucentral.com
|
|
authentication.default.password = 13268b7daa751240369d125e79c873bd8dd3bef7981bdfd38ea03dbb1fbe7dcf
|
|
openwifi.system.data = $OWSEC_ROOT/data
|
|
openwifi.system.uri.private = https://localhost:17001
|
|
openwifi.system.uri.public = https://main.server.com:16001
|
|
openwifi.system.uri.ui = https://ucentral-ui.main.server.com
|
|
openwifi.security.restapi.disable = false
|
|
openwifi.system.commandchannel = /tmp/app.ucentralsec
|
|
openwifi.service.key = $OWSEC_ROOT/certs/restapi-key.pem
|
|
openwifi.service.key.password = mypassword
|
|
|
|
smssender.enabled = false
|
|
smssender.provider = aws
|
|
smssender.aws.secretkey = ***************************************
|
|
smssender.aws.accesskey = ***************************************
|
|
smssender.aws.region = **************
|
|
|
|
#smssender.provider = twilio
|
|
#smssender.twilio.sid = ***********************
|
|
#smssender.twilio.token = **********************
|
|
#smssender.twilio.phonenumber = +18888888888
|
|
|
|
#
|
|
# Security Microservice Specific Section
|
|
#
|
|
mailer.enabled = false
|
|
mailer.hostname = smtp.gmail.com
|
|
mailer.username = ************************
|
|
mailer.password = ************************
|
|
mailer.sender = OpenWIFI
|
|
mailer.loginmethod = login
|
|
mailer.port = 587
|
|
mailer.templates = $OWSEC_ROOT/templates
|
|
|
|
helper.user.email = openwifi@telecominfraproject.com
|
|
helper.sub.email = openwifi@telecominfraproject.com
|
|
helper.user.global.email = openwifi@telecominfraproject.com
|
|
helper.sub.global.email = openwifi@telecominfraproject.com
|
|
helper.user.site = https://openwifi.telecominfraproject.com
|
|
helper.sub.site = https://openwifi.telecominfraproject.com
|
|
helper.user.login = https://openwifi.telecominfraproject.com
|
|
helper.sub.login = https://openwifi.telecominfraproject.com
|
|
helper.user.signature = Telecom Infra Project
|
|
helper.sub.signature = Telecom Infra Project
|
|
|
|
#############################
|
|
# Generic information for all micro-services
|
|
#############################
|
|
#
|
|
# NLB Support
|
|
#
|
|
alb.enable = true
|
|
alb.port = 16101
|
|
|
|
#
|
|
# Kafka
|
|
#
|
|
openwifi.kafka.group.id = security
|
|
openwifi.kafka.client.id = security1
|
|
openwifi.kafka.enable = true
|
|
openwifi.kafka.brokerlist = kafka:9092
|
|
openwifi.kafka.auto.commit = false
|
|
openwifi.kafka.queue.buffering.max.ms = 50
|
|
openwifi.kafka.ssl.ca.location =
|
|
openwifi.kafka.ssl.certificate.location =
|
|
openwifi.kafka.ssl.key.location =
|
|
openwifi.kafka.ssl.key.password =
|
|
|
|
openwifi.document.policy.access = /wwwassets/access_policy.html
|
|
openwifi.document.policy.password = /wwwassets/password_policy.html
|
|
openwifi.avatar.maxsize = 2000000
|
|
|
|
totp.issuer = OpenWiFi
|
|
#
|
|
# This section select which form of persistence you need
|
|
# Only one selected at a time. If you select multiple, this service will die if a horrible
|
|
# death and might make your beer flat.
|
|
#
|
|
storage.type = sqlite
|
|
#storage.type = postgresql
|
|
#storage.type = mysql
|
|
#storage.type = odbc
|
|
|
|
storage.type.sqlite.db = security.db
|
|
storage.type.sqlite.idletime = 120
|
|
storage.type.sqlite.maxsessions = 128
|
|
|
|
storage.type.postgresql.maxsessions = 64
|
|
storage.type.postgresql.idletime = 60
|
|
storage.type.postgresql.host = localhost
|
|
storage.type.postgresql.username = owsec
|
|
storage.type.postgresql.password = owsec
|
|
storage.type.postgresql.database = owsec
|
|
storage.type.postgresql.port = 5432
|
|
storage.type.postgresql.connectiontimeout = 60
|
|
|
|
storage.type.mysql.maxsessions = 64
|
|
storage.type.mysql.idletime = 60
|
|
storage.type.mysql.host = localhost
|
|
storage.type.mysql.username = owsec
|
|
storage.type.mysql.password = owsec
|
|
storage.type.mysql.database = owsec
|
|
storage.type.mysql.port = 3306
|
|
storage.type.mysql.connectiontimeout = 60
|
|
|
|
########################################################################
|
|
########################################################################
|
|
#
|
|
# Logging: please leave as is for now.
|
|
#
|
|
########################################################################
|
|
logging.type = file
|
|
logging.path = $OWSEC_ROOT/logs
|
|
logging.level = debug
|