How to configure SAP JAVA LDAP using port 8443.
Share

Hello Team,

In this blog, I will describe how to configure JAVA LDAP using port 8443.

Overview of Java LDAP Using Port 8443 in SAP.

In SAP environments, LDAP (Lightweight Directory Access Protocol) is commonly used for user authentication, authorization, and directory services. When SAP Java systems communicate securely with an LDAP directory, SSL/TLS is typically involved. In some SAP landscapes, this secure communication is configured to run over port 8443.

What Is LDAP in SAP Java?

In SAP NetWeaver AS Java, LDAP integration allows SAP to:

Authenticate users against a central directory (Active Directory / LDAP server)
Synchronize users and groups
Enable Single Sign-On (SSO)
Centralize user management instead of maintaining users locally in SAP
SAP Java uses its User Management Engine (UME) to connect to LDAP servers.

 

By default, the NetWeaver Administrator (NWA) page is accessed using the URL:

http://<hostname>:<port>/nwa

My NetWeaver Version is 7.5 and  Java instance number 00, the default NWA HTTP port is 50001.

In my case, the instance number is 00, so I will change the NWA port from 50001 to 8443. After this change, the NWA page will be accessible using port 8443.

Team Requirements

  • The Network Team will open port 8443.
  • AD Team will create One service account. In our case, we are using the SAPD1AUME service account.
  • The Basis Team will perform the LDAP configuration.
  • A Root CA certificate is required. This is a mandatory prerequisite and must be available before starting the configuration.

Preparation Steps

  • First, we need to create a user group. Accordingly, we have created the XX_BASIS_JAVA_ADMINS group.
  • Currently, the NetWeaver Administrator (NWA) URL is accessible via port 50001.

shalabhkumar_0-1776411549280.png

Now add Role to this Group XX_BASIS_JAVA_ADMINS

Administrator  , NWA_SUPERADMIN , SAP_SLD_ADMINISTRATOR

shalabhkumar_1-1776411549287.png

Now go to Configuration–> LDAP Server and fill information about LDAP Server with Service User name and password.

Server Name—–>Here you need to provide server hostname.

Server Port——–>636

User——————>SAPD1AUME

Password——->••••••••

User Path——->OU=Users,DC=,DC=com        <—This information you will get from your LDAP team.

Group Path——–> OU=Users,DC=,DC=com   <—This information you will get from your LDAP team.

shalabhkumar_2-1776411549297.png

Now Validate Configuration.

shalabhkumar_3-1776411549305.png

Now take restart of JAVA Server for change effect.

shalabhkumar_4-1776411549307.png

We have here 2 nodes. Server 1 and server 0

shalabhkumar_5-1776411549319.png

We are here restarting node wise with p r 2 and p r 3 command

shalabhkumar_6-1776411549328.png

After JAVA server restarted again go to User Managemt and check your check your ID

shalabhkumar_7-1776411549336.png

Open User Management–> Configuration–>Open Expert Mode

shalabhkumar_8-1776411549347.png

Check this Parameter ume.logon.allow_cert it should be true

shalabhkumar_9-1776411549351.png

Now go to NWA Configuration and Certificate and Keys

shalabhkumar_10-1776411549365.png

Now Select ICM_SSL_52325_8443. You should have root certificate. We need to import here root certificate

shalabhkumar_11-1776411549373.png

Now import root certificate here.

shalabhkumar_12-1776411549380.png

We can see here root certificate added.

shalabhkumar_13-1776411549388.png

Now Click on Authentication and Single Sign-On:

shalabhkumar_14-1776411549402.png

Select ticket and Add

shalabhkumar_15-1776411549405.png

Add below entry.

shalabhkumar_16-1776411549408.png

 

shalabhkumar_17-1776411549411.png

Now save

shalabhkumar_18-1776411549415.png

Now check 8443 port is enabled or not.

Configuration—SSL

shalabhkumar_19-1776411549430.png

 

shalabhkumar_20-1776411549433.png

Its enabled.

Now, when you open any Java-based URL such as NWA or User Management on port 8443, it will automatically log in using the user ID mapped to the corresponding LDAP group. No password is required for login.

As shown below, the NWA port has been changed from 50001 to 8443.

shalabhkumar_21-1776411549441.png

 

 

Conclusion

Java LDAP communication over port 8443 confirms secure LDAPS usage with encrypted authentication, aligning with security compliance requirements.

 

  Read More Technology Blog Posts by Members articles 

#abap

By ali

Leave a Reply