How Do I Encrypt the AUTOFORM DM Upload Module Password?
    • 25 Jun 2024
    • 1 Minute to read
    • Contributors
    • PDF

    How Do I Encrypt the AUTOFORM DM Upload Module Password?

    • PDF

    Article summary

    This article shows how to encrypt the password used by the AUTOFORM DM Upload module in Lasernet. The Upload module sends documents produced by Lasernet directly into AUTOFORM DM. While 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 these steps:

    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.

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

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

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

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

    2. Confirm the changes to close the dialogue box. The encrypted version's password will be longer.

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

    Lasernet is now configured for encrypted password use.

    Change/Create the Environment Variables

    You now need to make changes to your environment variables.

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

    2. Navigate 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

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

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

    3. Add your second new variable, 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

    Test

    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.


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.