Visit Nexus to get an overview of Nexus' solutions, read customer cases, access the latest news, and more.

This article describes how to install the Protocol Gateway component in Smart ID Certificate Manager

Expand/Collapse All


The following prerequisites apply:

Step-by-step instruction

If the Protocol Gateway client is not already installed:

  1. Follow the steps in either of these instructions and make sure to check Protocol Gateway in the list of clients, as well as Administrator's workbench (AWB) and Registration Authority (RA) that are needed to set up CA and policy objects:
    1. Install Certificate Manager clients on Windows
    2. Install Certificate Manager clients on Linux

To copy the Protocol Gateway .war file:

  1. Go to the CM installation folder, for example \CM\clients\web\pgwy\

  2. Copy the file pgwy.war file to the Tomcat webapps folder, for example \Tomcat\webapps
  3. Start Tomcat. After the startup is complete, just stop it again. 
    When Protocol Gateway is started the first time, the \conf folder and initial configuration files will be created, for example C:\ProgramData\Nexus\cm-gateway\conf\. Error messages can be ignored at this point.

To configure Tomcat: 

  1. On Windows
    1. Run the Tomcat9w.exe application.
      Tomcat9w is a GUI application for monitoring and configuring Apache Tomcat services. For more information, see
    2. Go to the Logging tab, and set Log path to C:\ProgramData\Nexus\cmgateway\logs..

    3. Go to the Java tab, and set the following properties: 

      Example: Java options
  2. On Linux

    1. Open the script file in the Apache Tomcat bin folder for editing. 

    2. Set the following options in CATALINA_OPTS as a string separated by spaces.

      Example: Set options in
      CATALINA_OPTS="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \
          -Djava.util.logging.config.file=/var/cm-gateway/conf/ \

      Configuring Protocol Gateway as a service on Linux depends on the distribution used and is not covered here.

  3. Do not restart Tomcat yet. 
    Restarting Tomcat would lead to an error message, since Protocol Gateway is not yet configured.  

Securing the Apache Tomcat Service is outside the scope of the Protocol Gateway application.

However, here are some recommended steps to secure the Tomcat service: 

  1. Open the file  <CATALINA_BASE>\conf\server.xml for editing, where <CATALINA_BASE> is the Tomcat installation path.  

  2. In the Connector section, do the following updates: 

    1. Set protocols to include only TLSv1.3 and TLSv1.2 (and thereby disable TLSv1.1 and TLSv1.0). 

    2. Force the clients to respect the server's cipher order, by setting honorCipherOrder to true
    3. Only enable strong ciphers, by setting the ciphers variable.
Example: server.xml Connector configuration
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
type="RSA" />

Initial configuration

To do initial configuration of Protocol Gateway, see Initial configuration of Protocol Gateway.

Configuration examples

For configuration examples in Protocol Gateway, see Configuration examples in Protocol Gateway.

Upgrade Protocol Gateway

To upgrade to a newer version of Protocol Gateway, see Upgrade Protocol Gateway.