Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Enabling HTTPS support

Once a key store containing the Workbench HTTPS has been created, update /opt/dm/mciYou can request Workbench to operate on any ports you like by updating the following section in your <METTLECI-HOME-DIRECTORY>/config.yml and add the following section file:

Code Block
languageyaml
server:
  applicationConnectors:
    - type: http
      port: 9090
    - type: https
      port: 84439443
      keyStoreType: PKCS12
      keyStorePath: <path -to -keystore>
      keyStorePassword: <store -password>
      trustStoreType: PKCS12
      trustStorePath: <path -to -keystore>
      trustStorePassword: <store -password>

The <place holders> must match Replace the <place-holder-text> with appropriate values, including (for HTTPS) those used while creating the Java keytool and keystore.

Once you’ve made your changes restart your Workbench service using the Service Manager utility on Windows, or this command on Unix: .

Code Block
sudo service dm-mettleci-workbench restart

Verify Workbench is up and running on the appropriate ports for HTTP and/or HTTPS by navigating to https://<host-url>:<http-port> and http://<host-url>:8443<https-port> in your browser, as appropriate.