SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Set up SAP Integration Suite, advanced event mesh connectivity with SAP Cloud Application Event Hub

Learn how we can configure the connectivity between SAP Integration Suite, advanced event mesh (AEM) and SAP Cloud Application Event Hub

Overview

🎓 intermediate 30 min. SAP Integration SuiteIntermediateSAP Business Technology Platform

You will learn

  • โœ”How to configure the connectivity between SAP Integration Suite, advanced event mesh and SAP Cloud Application Event Hub
Antonio Maradiaga A Antonio Maradiaga January 12, 2026
Created by November 26, 2025
Contributors

Prerequisites

Prerequisites

  • You’ve completed the previous tutorial: Set up SAP Cloud Application Event Hub.
  • You are familiar with the concepts explained in the SAP Cloud Application Event Hub - Basic Concepts tutorial.
  • The publisher system is already configured in your system landscape and it is part of the formation used to enable eventing between SAP cloud systems.
  • You have access to an SAP Integration Suite, advanced event mesh (AEM) instance and an instance of SAP Cloud Application Event Hub in your SAP BTP account.

Steps

Intro

This tutorial describes how we can configure the connectivity between SAP Integration Suite, advanced event mesh (AEM) and SAP Cloud Application Event Hub. For this, we will generate a self-signed certificate that will be used to authenticate the communication between SAP Cloud Application Event Hub and AEM. We will then configure certificate based authentication in AEM and finalise by adding some integration dependencies in AEM so that events can start flowing from a publisher system via SAP Cloud Application Event Hub to AEM.

Step 1 Create a self-signed certificate
โ€”

To secure the communication between SAP Cloud Application Event Hub and AEM, we need to set up and configure certificate authentication. For this, we will first create a self-signed certificate, which will need to include the details (subaccount domain) of the SAP Cloud Application Event Hub instance.

For simplicity purpose, we will use the sample script that’s included with this tutorial (generate-cert-key-for-event-hub.sh) to generate the self-signed certificate and private key required.

  1. Download the script and open it in a text editor.

    Shell
    #!/bin/bash    
    # The script below works on a Mac with OpenSSL installed
    #
    # Replace the value of CERT_NAME with the subaccount subdomain.
    # You can find this value by navigation to the subaccount > Overview page.
    # In the General section there is a field called Subdomain
    CERT_NAME="my-subaccount-plw8f86u"
    
    openssl req -x509 -out ${CERT_NAME}.crt -keyout ${CERT_NAME}.key \
    -newkey rsa:2048 -nodes -sha256 \
    -subj "/CN=${CERT_NAME}" -extensions EXT -config <( \
    printf "[dn]\nCN=${CERT_NAME}\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:${CERT_NAME}\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
    
    awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}'  ${CERT_NAME}.crt > ${CERT_NAME}-single-line.crt
    
    awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}'  ${CERT_NAME}.key > ${CERT_NAME}-single-line.key
  2. Replace the value of the CERT_NAME variable with the subaccount subdomain where the SAP Cloud Application Event Hub instance is located. You can find this value by navigation to the SAP BTP subaccount > Overview page. In the General section there is a field called Subdomain.

  3. Run the script in your terminal, e.g. ./generate-cert-key-for-event-hub.sh. This will generate four files:

    • &lt;subaccount-subdomain&gt;.crt: Self-signed certificate
    • &lt;subaccount-subdomain&gt;.key: Private key
    • &lt;subaccount-subdomain&gt;-single-line.crt: Self-signed certificate in a single line
    • &lt;subaccount-subdomain&gt;-single-line.key: Private key in a single line

The self-signed certificate will be imported in the AEM instance in a future step, while the certificate and private key will be used to create a service binding in the SAP Cloud Application Event Hub event-connectivity instance that we will create later.

Step 2 Gather AEM instance details
+
Step 3 Get AEM event broker details
+
Step 4 Check client certificate authentication settings in AEM
+
Step 5 Import self-signed certificate in AEM instance
+
Step 6 Create user in AEM for Event Hub authentication
+
Step 7 Create SAP Cloud Application Event Hub event-connectivity instance
+
Step 8 Create the service binding in the event-connectivity instance
+
Step 9 Include AEM in the formation
+
Step 10 Validate connectivity
+
Step 11 Further study
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 11
1. Create a self-signed certificate 2. Gather AEM instance details 3. Get AEM event broker details 4. Check client certificate authentication settings in AEM 5. Import self-signed certificate in AEM instance 6. Create user in AEM for Event Hub authentication 7. Create SAP Cloud Application Event Hub event-connectivity instance 8. Create the service binding in the event-connectivity instance 9. Include AEM in the formation 10. Validate connectivity 11. Further study

Learn more →