Skip to main content
Skip table of contents

Configuring Apache Tomcat to use encrypted passwords

By default, Apache Tomcat is not designed to use encrypted passwords. You’ll need to update Apache Tomcat to use the encrypted passwords when PrinterOn attempts to access remote services, such as an LDAP server.

📘 Instructions

To configure Tomcat:

  • On the command line, run C:\Program Files (x86)\PrinterOn Corporation\Apache Tomcat\bin\tomcat8w.exe. The Tomcat Properties dialog appears.

    image-20240213-120007.png
  • Open the Java tab.

  • In the Java Options, enter the following entries, if applicable:

    • CODE
      -DtrustStore=”PATH_TO_TRUSTSTORE”
      -DtrustStorePassword=”ENCRYPTED_OR_DECRYPTED_PASSWORD”
      -DkeyStore=”PATH_TO_KEYSTORE”
      -DkeyStorePassword=”ENCRYPTED_OR_DECRYPTED_PASSWORD”

  • To disable DNS caching, in the Java Options, enter the following:

    • CODE
      -Dsun.net.inetaddr.ttl=0
  • Click OK.

  • Restart the machine. All services will be restarted and will use the encrypted passwords.

📋 Related articles

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.