...
- Use the osgi console
encrypt
command to encrypt a clear text passwordGo to to the osgi console and type
encrypt <
and press return e.g.password>
Code Block theme Midnight title Encrypting a password osgi> encrypt My$upaSekrutP@sswurd ENCKPXBCTMGGMKBGKPK
Copy the encrypted password from the console and paste it back into the configuration file replacing the original password
Code Block language xml title Before encrypting password <username>bob</username> <password>My$upaSekrutP@sswurd<password>
Code Block language xml title After encrypting password <username>bob</username> <password>ENCKPXBCTMGGMKBGKPK<password>
Info |
---|
The encryption key used to encrypt the passwords is stored in the file called This file is generated the first time Weave starts and will be unique for each Weave instance, which means that encrypting the same password with different instances of Weave would result in different encrypted text. This means that if you want to re-use the same configuration files on multiple Weave instances, for example development and production, then you need to either:
Additionally, for extra security the permissions on that file should be set to only allow the users running the Weave instance to read the |
Info |
---|
Also refer to the following sections of the Weave System Administrator Guides: |
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...