Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2024.1

...

  1. If you have the CA, open the ssl.config.js file in an editor. This file is located in the <DTP_SERVICES>/shared directory.
  2. Change the value of the enabled property to true and set the options to use your certificate. The complete file path to the certificate files along with their file names must be entered in the options. See the node.js documentation for a complete list of options. If the certificate was created with a passphrase, then be sure to include it in your configuration.
    Code Block
    titleSample configuration
    var fs = require('fs');
    module.exports = {
        enabled: true,
        options: {
            key: fs.readFileSync("/path/to/file/ssl-certificate-key.key"),
            cert: fs.readFileSync("/path/to/file/ssl-certificate-file.crt"),
            ca: fs.readFileSync("/path/to/file/ssl-certificate-chain.crt"),
            passphrase: "yourpassword"
        }
    };
  3. Save the file.

The same ports are used when SSL is enabled for DTP Enterprise Pack, but they will all use the HTTPS protocol. DTP Enterprise Pack will also use SSL-enabled ports to communicate with DTP. If you want to send data between DTP and Enterprise Pack applications over HTTPS, you must enable SSL for both systems to make sure they work properly.

...