You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2020. It is now read-only.
# Copy log configuration (so you will be able to edit it for your purpose)
132
138
cp logging.json $LUMEXT_HOME/etc
133
139
```
134
140
135
-
Then you will need to edit the following line of the `/opt/sii/lumext/etc/config.json` file:
136
-
137
-
```json
138
-
{
139
-
"rabbitmq": {
140
-
"server": "<address of rmq server>",
141
-
"port": "<tcp port of rmq server>",
142
-
"user": "<amqp username>",
143
-
"password": "<amqp password>",
144
-
"exchange": "<configured exchange on vCD>",
145
-
"queue": "sii-lumext",
146
-
"routing_key": "sii-lumext",
147
-
"use_ssl": true// true/false depending on your rmq server
148
-
},
149
-
"ldap": {
150
-
"address": "ldaps://---------:636", // ldap address starting with ldap:// or ldaps://
151
-
"user": "user@domain", // username for LDAP administration
152
-
"secret": "<ldap user password>",
153
-
"base": "dc=domain,dc=tld", // LDAP base path to use as a root for OU creation(s)
154
-
"domain": "domain.tld", // name of the LDAP domain
155
-
"search_timeout": 5, // seconds
156
-
"operation_timeout": 5, // seconds
157
-
"cacert_file": "/etc/ssl/certs/ca-certificates.crt", // If LDAPs is used
158
-
"userAccountControl": 66048// Default mode for user creation (66048: no password expiration + user activated)
159
-
},
160
-
"log": {
161
-
"config_path": "/opt/sii/lumext/etc/logging.json"// path to the log configuration file
162
-
}
163
-
}
141
+
Then you will need to edit the following line of the `/opt/sii/lumext/etc/config.yaml` file:
142
+
143
+
```yaml
144
+
rabbitmq:
145
+
server: rmq.domain # address of rabbitmq server
146
+
port: 5672# tcp port of rabbitmq server
147
+
user: svc-user # amqp username
148
+
password: "**********"# amqp password
149
+
exchange: systemExchange # configured exchange for vCD
150
+
queue: sii-lumext
151
+
routing_key: sii-lumext
152
+
use_ssl: true # true/false depending on your rmq server
153
+
154
+
ldap:
155
+
address: ldaps://---------:636 # ldap address starting with ldap:// or ldaps://
156
+
user: user@domain # username for LDAP administration
157
+
secret: "***********"# password for LDAP administration
158
+
base: dc=domain,dc=tld # LDAP base path to use as a root for OU creation(s)
159
+
domain: domain.tld # name of the LDAP domain
160
+
search_timeout: 5# seconds
161
+
operation_timeout: 5# seconds
162
+
cacert_file: /etc/ssl/certs/ca-certificates.crt # If LDAPs is used
163
+
userAccountControl: 66048# Default mode for user creation:
164
+
# - (66048: no password expiration + user activated)
165
+
166
+
log:
167
+
config_path: /opt/sii/lumext/etc/logging.json
164
168
```
165
169
166
-
> Remove all ``//.*`` comments as it it not supported in JSON syntax.
170
+
> **Note about LDAPs certificates:**
171
+
>
172
+
> To use LDAPs, a *cacert* file is mandatory to validate the certificate submitted by the server. You can use a custom CA cert chain (*PEM format*) or, if you use a certificate signed by an OS-trusted CA, use the OS declaration of the trusted certificates.
173
+
>
174
+
> Please refer to [`Python-LDAP` library documentation](https://www.python-ldap.org/en/latest/index.html) for more details.
0 commit comments