Question
Is it possible to manually input an encrypted password into "TimelinePI.xml" file?
What type of encryption should be used?
Answer
You can put the encrypted password using the steps below:
- Stop Timeline service (Administrator terminal, sc stop timelinepi)
- Open TimelinePi.xml file
- Change the MAIL_SERVER_PASSWORD with the base64 encrypted password
- Change IS_MAIL_SERVER_PASSWORD_ENCRYPTED to "true"
- Save TimelinePi.xml file
- Restart the Timeline service (Administrator terminal, sc start timelinepi)
As an example, there are 2 possible ways to encrypt a password:
1. If you have nodejs installed:
Run the following command in a terminal (nodejs has to be in the PATH):
node -e "console.log(Buffer.from('MyPasswordToBeStored').toString('base64'))"
2. You can also use browser developer tools (in Google Chrome opened by F12):
Run the following line in the console
btoa('MyPasswordToBeStored')
Comments
0 comments
Please sign in to leave a comment.