--- title: Set up a secure connection to the Hermes Messaging Service for LES description: Secure your Kafka topics by generating a ServiceNow instance-signed certificate. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/les-hermes-cert.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Configure, Log Export Service \(LES\), Platform Security] --- # Set up a secure connection to the Hermes Messaging Service for LES Secure your Kafka topics by generating a ServiceNow® instance-signed certificate. ## Before you begin Setting up the Hermes Messaging Service requires coordination with your network administrator and with your Kafka administrator. Work with your network administrator to obtain required security certificates and open the required ports. Work with your Kafka administrator to ensure that your Kafka environment is configured correctly and that your applications can connect to the Hermes Messaging Service using the standard Kafka protocol. Make sure the following setup is in place: - The Hermes Messaging Service is activated. See [Activating the Hermes Messaging Service](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/hermes-messaging-service-activation.md). - The Key Management Framework plugin \(com.glide.kmf.global\) is activated. - The Certificates \[sys\_kmf\_certificate\] table contains a ServiceNow instance root CA certificate. - The instance isn't configured with a Custom URL. Custom URLs are not supported with the Instance PKI Certificate Generator. Role required: hermes\_admin, sn\_kmf.cryptographic\_manager, or admin For details on assigning KMF roles, see [Roles installed with Key Management Framework](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/platform-encryption/kmf-roles.md). ## Procedure 1. Navigate to **All** > **Certificate Generator** > **Instance PKI Certificate Generator**. 2. Control access to topics by configuring Access Control Lists \(ACLs\) at the namespace or topic-level.
| Option | Description |
|---|---|
| **Apply ACLs to namespaces** | 1. Select **Configure ACLs**. 2. In the Topic ACLs dialog box, select **Namespaces**. 3. Enter a namespace that you want to configure. 4. Set the permission level by selecting either **Read Only** or **Read/Write**. 5. Select **Add**. |
| **Apply ACLs to defined topics** | 1. Select **Configure ACLs**. 2. In the Topic ACLs dialog box, select **Defined topics**. 3. Enter an existing topic that you want to configure. 4. Set the permission level by selecting either **Read Only** or **Read/Write**. 5. Select **Add**. |