Skip to main content

Encrypting the AUTOFORM DM upload module password (Lasernet) - Knowledgebase / Lasernet / Lasernet General Information - Formpipe Support Portal

Encrypting the AUTOFORM DM upload module password (Lasernet)

Authors list

This article shows how to encrypt the password used by the AUTOFORM DM upload module in Lasernet. The upload module is used for sending documents produced by Lasernet directly into AUTOFORM DM. Whilst Lasernet stores the AUTOFORM DM credentials in an encrypted form within the build, if you are using the Environment Variables functionality we recommend that you encrypt the AUTOFORM DM password before storing it in the environment.

 To encrypt the password within the module follow the steps below:

1. Ensure the password field in the server setup window has the correct server password (not an environment reference).

2. Click the Encrypt Password button, which will launch the Password encryption dialog box.


3. Add an Encryption passphrase to encrypt the server password and make a note of this as you will need it later for inclusion in the environment variable.

4. Use the Encrypt button to encrypt the server password.

The Encrypted password field will now show the new encrypted password value

5. Take a copy of this value as you will need it later for inclusion in the environment variable.

6. Confirm the changes to close the dialogue box You will notice the password changes length to the encrypted version

7. Change the value in the Password field to be ENV[DM_PASSWORD]. This will reference the Environment variables value for the encrypted password.

 Lasernet is now configured for encrypted password use.

Changing/Creating the Environment variables

You now need to make changes to your environment variables.

1. Go to the Windows Control Panel and select System & Security.

2. Go to System and select the Advanced tab.

3. Click on the Environment Variables button

4. Add two system variables:

  • DM_PASSWORD
  • EFS_LN_UPLOAD_MODULE_PASSPHRASE

5. Under System variables use the Add button and create a variable called DM_PASSWORD.

6. Enter the value of your encrypted password. When adding the encrypted password to the environment, ensure that it is enclosed with ENC[ … ] (see example below) to signify that it has been (ENC)rypted.

7. Add your second new variable and call it EFS_LN_UPLOAD_MODULE_PASSPHRASE and give it the value of your encryption passphrase.

Example: DM_PASSWORD= ENC[tovrDrhfTVIS27FxCpkIVw==] EFS_LN_UPLOAD_MODULE_PASSPHRASE=Testing123   

Testing it works

With the environment variables correctly configured, you can now test if your encrypted password works in Lasernet.

1. Re-start the machine for the environment variable changes to take effect. 

2. Load the build in  Lasernet Developer.

3. Load the settings window for the Lasernet Upload Module.

4.  Click the Test Connection button on the Setup tab to test the connection works.

   

Another way to test the system is to pass some data through Lasernet to create a document that goes directly into AUTOFORM DM through the Upload Module. If the document is accessible in AUTOFORM DM, the process has worked.

Helpful Unhelpful

Add a comment

Please log in or register to submit a comment.

Need a password reminder?

Share