---
title: Network connections
description: Protect network traffic by using HTTPS where possible, and secure communications during stateless sessions by signing and/or encrypting JWTs. For information about configuring IG for HTTPS client-side and HTTPS server-side, refer to the Installation guide.
component: pinggateway
version: 2023.11
page_id: pinggateway:security-guide:connections
canonical_url: https://docs.pingidentity.com/pinggateway/2026/security-guide/connections.html
llms_txt: https://docs.pingidentity.com/pinggateway/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2023-09-19T08:48:14Z
keywords: ["Security", "Account", "Authorization", "Connections"]
superseded_by: https://docs.pingidentity.com/pinggateway/2026/security-guide/connections.html
section_ids:
  production-message-level-security: Message-level security
---

# Network connections

Protect network traffic by using HTTPS where possible, and secure communications during stateless sessions by signing and/or encrypting JWTs. For information about configuring IG for HTTPS client-side and HTTPS server-side, refer to the [Installation guide](../installation-guide/preface.html#preface).

**Recommendations for incoming connections (from clients to IG).**

| Protocol | Recommendations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| HTTP     | HTTP connections that are not protected by SSL/TLS use cleartext messages. When you permit insecure connections, you cannot prevent client applications from sending sensitive data. For example, a client could send unprotected credentials in an HTTP Authorization header. Even if the server were to reject the request, the credentials would already be leaked to any eavesdroppers.Always use HTTPS for connections up to a load-balancer or proxy in front of the web application or server.                                                                                                                                                                                                                                                                                                                       |
| HTTPS    | Follow industry-standard TLS recommendations for [Security/Server Side TLS](https://wiki.mozilla.org/Security/Server_Side_TLS).Use a secure version of TLS/SSL to connect to TLS-protected endpoints with HTTP connection handlers, such as [ClientHandler](../reference/Handlers.html#ClientHandler) and [ReverseProxyHandler](../reference/Handlers.html#ReverseProxyHandler). TLS protocols below 1.2 are not considered secure.Some client applications require a higher level of trust, such as clients with additional privileges or access. Client application deployers might find it easier to manage public keys as credentials than to manage user name/password credentials. Client applications can use SSL client authentication.When using IG REST to LDAP gateway, use HTTPS to protect client connections. |
| JMX      | Secure JMX access with the SSL/TLS-related properties, such as `use-ssl` and others.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| SSH      | IG administration tools can connect securely.Administrators should use SSH when changing the IG configuration or binaries.The user account for running IG should not be the same user account for connecting remotely.Secure Copy (SCP) uses SSH to transfer files securely. SCP is an appropriate protocol for copying backup data, for example.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |

**Recommendations for outgoing connections (from IG to another service.)**

| Client                                        | Recommendations                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Common Audit event handlers                   | Configure ForgeRock Common Audit event handlers to use HTTPS when connecting to external log services.                                                                                                                                                                                                                                                                                                                                                                   |
| OAuth 2.0-based HTTP authorization mechanisms | HTTP authorization can be based on OAuth 2.0, where IG servers act as resource servers, and make requests to resolve OAuth 2.0 tokens.Use HTTPS to protect the connections to OAuth2ResourceServerFilter and AuthorizationCodeOAuth2ClientFilter. For information, refer to [OAuth2ResourceServerFilter](../reference/Filters.html#OAuth2ResourceServerFilter) and [AuthorizationCodeOAuth2ClientFilter](../reference/Filters.html#AuthorizationCodeOAuth2ClientFilter). |

## Message-level security

Server protocols such as HTTP, LDAP, and JMX rely on TLS to protect connections. To enforce secure communication, configure TLS as follows:

* Configure HTTPS server-side in `admin.json`.

* Configure IG for HTTPS client-side by configuring trust managers and key managers. For more information, refer to [Configure IG for HTTPS (client-side)](../installation-guide/securing-connections.html#client-side-https).

When negotiating connection security, the server and client must use a common security protocol and cipher suite. In ClientTlsOptions and ServerTlsOptions, define lists of security protocols and cipher suites. For security, use the most recent protocols and ciphers that the client supports. Clients with older TLS implementations might not support the most recent protocols and ciphers.
