---
title: Preparing to deploy the PingIntelligence policy
description: Complete the following steps based on your operating system.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_integrations:pingintelligence_nginx_plus_prepare
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_integrations/pingintelligence_nginx_plus_prepare.html
revdate: April 3, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  troubleshooting: Troubleshooting:
  choose-from: Choose from:
---

# Preparing to deploy the PingIntelligence policy

Complete the following steps based on your operating system.

## About this task

The PingIntelligence policy modules are complied for NGINX Plus R16. If you have a different version of NGINX Plus, contact Ping Identity support.

Before deploying the PingIntelligence policy:

## Steps

1. Install and configure the PingIntelligence software.

   For more information, see [PingIntelligence automated deployment for virtual machines and servers](../installing_pingintelligence_for_apis/pingintelligence_automated_deployment.html) or [PingIntelligence manual deployment](../installing_pingintelligence_for_apis/pingintelligence_manual_deployment.html).

2. Sign on to your ASE machine and verify that ASE is in `sideband` mode by running the following `status` command:

   ```
   /opt/pingidentity/ase/bin/cli.sh status
   ```

   ### Troubleshooting:

   If ASE is not in `sideband` mode, then stop ASE and change the mode by editing the `/opt/pingidentity/ase/config/ase.conf` file. Set `mode` as `sideband` and start ASE.

3. For secure communication between NGINX and ASE, enable sideband authentication by entering the following ASE command:

   ```
   # ./bin/cli.sh enable_sideband_authentication -u admin –p admin
   ```

4. To generate the token in ASE, enter the following command in the ASE command line and save the generated authentication token for further use.

   A token is required for NGINX to authenticate with ASE.

   ```
   # ./bin/cli.sh -u admin -p admin create_sideband_token
   ```

5. Configure the following for your operating system:

   ### Choose from:

   * RHEL 7.6

     1. Verify your RHEL version by entering the following command on your machine:

        ```shell
        $ cat /etc/redhat-release
        Red Hat Enterprise Linux Server release 7.6 (Maipo)
        ```

     2. OpenSSL `1.0.2k-fips` on your RHEL 7.6 machine using the `openssl version` command:

        ```shell
        $ openssl version
        OpenSSL 1.0.2k-fips  26 Jan 2017
        ```

        |   |                                                                                                                                                                                                       |
        | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
        |   | The PingIntelligence modules for NGINX Plus have been specifically compiled for RHEL 7.6 and OpenSSL `1.0.2k-fips`. If you have different versions of these component, contact Ping Identity support. |

     3. Configure certificate for NGINX Plus:

        1. Create a directory for SSL certificates:

           ```
           # sudo mkdir -p /etc/ssl/nginx
           ```

        2. Sign on to the NGINX customer portal and download `nginx-repo.key` and `nginx-repo.crt` to `/etc/ss/nginx`.

     For more information, see [Installing NGINX Plus](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-plus/)

     1. Run the following command to download dependencies for RHEL:

        ```
        # yum install wget ca-certificates
        ```

   * Ubuntu 16.0.4 LTS

     1. Run the following command to check your Ubuntu version:

        ```shell
        $ cat /etc/os-release
        NAME="Ubuntu"
        VERSION="16.04 LTS (Xenial Xerus)"
        ID=ubuntu
        ID_LIKE=debian
        PRETTY_NAME="Ubuntu 16.04.6 LTS"
        VERSION_ID="16.04"
        HOME_URL="http://www.ubuntu.com/"
        SUPPORT_URL="http://help.ubuntu.com/"
        BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
        VERSION_CODENAME=xenial
        UBUNTU_CODENAME=xenial
        ```

     2. OpenSSL `1.0.2g` and check the OpenSSL version using the `openssl version` command:

        ```shell
        $ openssl version
        OpenSSL 1.0.2g  26 Jan 2017
        ```

     3. Run the following command to download dependencies for Ubuntu:

        ```
        # sudo apt-get install apt-transport-https lsb-release ca-certificates
        ```

     4. Configure the certificate for NGINX Plus:

        1. Create a directory for SSL certificates:

           ```
           # sudo mkdir -p /etc/ssl/nginx
           ```

        2. Sign on to the NGINX customer portal and download `nginx-repo.key` and `nginx-repo.crt` to `/etc/ssl/nginx`.

           For more information, see [Installing NGINX Plus](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-plus/).

           |   |                                                                                                                                                                                                 |
           | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
           |   | The PingIntelligence modules are specifically compiled for Ubuntu 16.0.4 and OpenSSL `1.0.2g`. If you do not have these specific versions of Ubuntu and OpenSSL, contact Ping Identity support. |

   * Debian 9

     1. Run the following command to check your Debian version:

        ```shell
        $ cat /etc/os-release
         PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
        NAME="Debian GNU/Linux"
        VERSION_ID="9"
        VERSION="9 (stretch)"
        VERSION_CODENAME=stretch
        ID=debian
        HOME_URL="https://www.debian.org/"
        SUPPORT_URL="https://www.debian.org/support"
        BUG_REPORT_URL="https://bugs.debian.org/"
        ```

     2. OpenSSL `1.1.0l` and check the OpenSSL version using the `openssl version` command:

        ```shell
        $ openssl version
        OpenSSL 1.1.0l  10 Sep 2019
        ```

     3. Configure the certificate for NGINX Plus:

        1. Create a directory for SSL certificates:

           ```
           # sudo mkdir -p /etc/ssl/nginx
           ```

        2. Sign on to the NGINX customer portal and download `nginx-repo.key` and `nginx-repo.crt` to `/etc/ssl/nginx`.

   For more information, see [Installing NGINX Plus](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-plus/).
