How to Configure Open SSL for SAP HANA Studio to SAP HANA Server**PremG**

SAP HANA Server and SAP HANA Studio are not delivered by hardware vendors with secure socket layer (SSL) communication enabled. As an added layer of security SAP HANA Administrators are encouraged to enable SSL communication between SAP HANA server nodes, between SAP HANA clients, as well as between SAP HANA Studio and SAP HANA Server. SAP HANA supports use of either the SAPCrypto libraries or OpenSSL to secure communication. This guide walks through the steps required to configure and enable OpenSSL communication between SAP HANA Studio and SAP HANA Server. 

Details in the error log can be found in the IndexServer_alert_*.trc diagnostics file in HANA Studio’s Administrative perspective

CONFIGURE SAP HANA SERVER TO SUPPORT SSL As user ‘root’, check for existence of libssl.so, if the file does not exist create a symbolic link to libssl.so.0.9.8: 

 ls -l /usr/lib64 |grep ssl

 ln -s /usr/lib64/libssl.so.0.9.8 /usr/lib64/libssl.so

 ls -l /usr/lib64 |grep ssl

Create the Root Certificate cd /usr/sap/SID/home 

mkdir .ssl 

openssl req -new -x509 -newkey rsa:2048 -days 3650 -sha1 -keyout CA_Key.pem - out CA_Cert.pem -extensions v3_ca

Generating a 2048 bit RSA private key 

Create the Server Certificate 

 openssl req -newkey rsa:2048 -days 365 -sha1 -keyout Server_Key.pem -out Server_Req.pem -nodes

Generating a 2048 bit RSA private key ....................+++ ..................................+++

Sign the Server Certificate

 openssl x509 -req -days 365 -in Server_Req.pem -sha1 -extfile /etc/ssl/openssl.cnf -extensions usr_cert -CA CA_Cert.pem -CAkey CA_Key.pem -CAcreateserial -out Server_Cert.pem

Chain the Certificate

 cat Server_Cert.pem Server_Key.pem CA_Cert.pem > key.pem 


 cat key.pem -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

Copy the Certificate to Trust.pem 


RESTART HANA SERVER

Import ‘trust.pem’ into the Java keystore on the client 

As user ‘Administrator’, or with administrative access, import trust.pem into Java’s keystore. Confirm that the Microsoft Window’s environment variable %JAVA_HOME% matches the version of Java in the OS path, as well as matches that shown in HANA Studio’s Help | About | Installation Details.

Execute the following command, ensure that ..\jre\lib\security\cacerts file exists prior to executing the keytool command. Note only a single prompt for password should occur. 

Enable SSL Communication within HANA Studio

Confirm that HANA Studio will now communicate using SSL, the hover tooltip should now show SSL, and the system node icon should show a small lock.


Ashishkumar Patel

IT TECHNOLOGY CONSULTANT at SAP

7 年

Thanks

回复

要查看或添加评论,请登录

Premkumar Ganji的更多文章

  • SAP Template Rollout -S/4 HANA Greenfield Implementation

    SAP Template Rollout -S/4 HANA Greenfield Implementation

    A successful global rollout of SAP GTS requires a comprehensive approach that considers various factors. The SAP Global…

    1 条评论
  • #The Rise of SAP Generative AI

    #The Rise of SAP Generative AI

    The promise of generative AI is in its ability to support individual businesses with individual needs—not just…

  • SAP Copilot (JOULE)

    SAP Copilot (JOULE)

    Unlocking the power of gen AI in SAP systems SAP has introduced a natural-language, generative AI copilot called…

    1 条评论
  • RISE with SAP S/4HANA Cloud, private edition

    RISE with SAP S/4HANA Cloud, private edition

    ONE Contract and ONE offer for business was introduced by SAP in the beginning of the year 2021 and marketed with the…

  • SAP transformation - RISE with SAP Signavio

    SAP transformation - RISE with SAP Signavio

    SIGNAVIO SAP Signavio is an all-in-one process and business transformation solution that enables organizations to make…

    1 条评论
  • #SAP S4HANA to Success Factors using BTP Integration Suite

    #SAP S4HANA to Success Factors using BTP Integration Suite

    Replicating Cost Centers from SAP S/4HANA to Success Factors Employee Central Using SAP BTP Integration as the…

    1 条评论
  • #SAP Data Estate Build on Azure

    #SAP Data Estate Build on Azure

    The way forward for enterprises is marked by the ability to continuously improve on the operational inefficiencies and…

    1 条评论
  • SAP on Azure Integration Solutions **PremG**

    SAP on Azure Integration Solutions **PremG**

    SAPs intelligent suite of solutions Integration with Azure Teams. The companies also expanded an existing partnership…

    3 条评论
  • #SAP Leonardo IoT integrate with Azure IoT services **Prem G**

    #SAP Leonardo IoT integrate with Azure IoT services **Prem G**

    IoT stack of SAP has been integrated with the Field Service Management product, to be able to create C/4HANA and…

    5 条评论
  • #SAP HANA Hardware and Cloud Measurement Tools (HCMT) **Prem G**

    #SAP HANA Hardware and Cloud Measurement Tools (HCMT) **Prem G**

    SAP HANA Hardware Configuration Check Tool (HWCCT) has been end of life-cycle (EOL) on Aug 1st, 2019. So now no further…

    1 条评论

社区洞察

其他会员也浏览了