Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

2021-06-18 2046101

2046101 - Cannot Change Certificate and Database User


Password for System Landscape Directory
Version 9 Type SAP Business One Notes
Language English Master Language English
Priority Correction with high priority Category Program error
Release Status Released for Customer Released On 13.05.2019
Component SBO-BC-SLD ( System Landscape Directory )

Please find the original document at https://launchpad.support.sap.com/#/notes/ 2046101

Symptom

If you use a database user to install the System Landscape Directory (SLD) and later change the password
for the database user, the SLD stops working. In addition, you cannot change the certificate for secure
connection to the SLD.

Reproducing the issue

Scenario 1:

1. Use a database user (for example, SYSTEM or sa) to install the SLD.
2. Change the password for the database user.

Scenario 2:

The validity of the SLD certificate has expired.

Expected behavior:

Tools are available for you to change the database user password and certificate.

Actual behavior:

The SLD stops working, and the error message "Please confirm that SLD is started!" is displayed when you
try to log on to SLD Control Center from browsers. Reinstallation is required since no tools are available for
you to update the database user password or certificate.

Solution

SAP provided patches in order to solve the problem described. The section References lists the specific
patches available.

After upgrading to a patch level in which these issues have been corrected, you must perform the
following instructions to update the certificate and database user password:

SAP Business One, version for SAP HANA:

Database User Password:

As of SAP Business One, version for SAP HANA 9.0 PL12 and 9.1 PL01, you can enter the new password
during the upgrade process (from a lower version to a higher version). For more information, see SAP Note
2020404 and the Administrator's Guide for SAP Business One, version for SAP HANA ("Troubleshooting"

© 2021 SAP SE or an SAP affiliate company. All rights reserved 1 of 4


2021-06-18 2046101

chapter: "System Landscape Directory cannot connect to SAP HANA after change of database user
password" section).

A secondary option is to run the reconfiguration mode; you can enter the new password during this
reconfiguration process, which will automatically update the stored database user password accordingly.

Certificate:

1. Log on to your Linux server and navigate to the folder <Installation


Path>/SAPBusinessOne/ServerTools/SLD/tools/.
2. Execute the shell script update_https_certificate.sh in a command-line terminal.
3. In the terminal, enter the following information step by step:
a. Path to the Tomcat server for the SLD (<Installation Path>/SAPBusinessOne/Common/tomcat).
b. Path to the new certificate, e.g. <Certificate Path>/server.p12.
c. Password for the new certificate.
4. Restart the server tools with the command: /etc/init.d/sapb1servertools restart

Note:

If <Installation Path>/SAPBusinessOne/ServerTools/SLD/tools/ does not exist, please create a


folder manually and then copy the contents in the attached toolsHANA.zip file to the tools folder.

In the tools folder, you may notice a file called update_db_credential.sh. Be aware that you cannot
run this shell script to reset the database user password.

SAP Business One (Microsoft SQL Server):

Database User Password:

1. On the server, navigate to the folder <Installation Path>\System Landscape Directory\tools\.


2. Execute the batch file update_db_credential.bat.
3. In the command prompt, enter the following information step by step:
a. For versions older than 9.2, this tool asks for the path to the server.xml file (<Servertools
Installation Path>\System Landscape Directory\tomcat\conf\server.xml).
For versions newer than 9.2 (inclusive), this tool asks for the path to the sld.xml file
(<Servertools Installation Path>\Common\tomcat\conf\Catalina\localhost\sld.xml).
b. JDBC URL: If you have not changed the hostname or IP address of the SQL server, you can
directly press ENTER to skip this step. The format of the URL is:
jdbc:sqlserver://<Hostname/IP>\<Instance Name>:<Port>; DatabaseName=<SLD
Database>
c. The database user name.
d. New password for the database user.
4. Restart the SLD Service

Certificate:

1. On the server, navigate to the folder <Servertools Installation Path>\System Landscape Directory\tools\
.
2. Execute the batch file update_https_certificate.bat.
3. In the command prompt, enter the following information step by step:
a. For versions older than 9.2: <Servertools Installation Path>\System Landscape
Directory\tomcat.
For versions newer than 9.2 (inclusive): <Servertools Installation Path>\Common\tomcat.
b. Path to the new certificate, e.g. <Certificate Path>/server.p12.

© 2021 SAP SE or an SAP affiliate company. All rights reserved 2 of 4


2021-06-18 2046101

c. Password for the new certificate.


4. Restart the SLD service.

Note:

If <Servertools Installation Path>\System Landscape Directory\tools\ does not exist, please create a
folder manually and then copy the contents in the attached toolsMSSQL.zip file to the tools folder.

Products

SAP B1 9.0 FOR SAP HANA


SAP B1 9.1 FOR SAP HANA
SAP B1 9.2 FOR SAP HANA
SAP BUSINESS ONE 9.0
SAP BUSINESS ONE 9.1
SAP BUSINESS ONE 9.2

This document refers to

SAP
Title
Note/KBA

Server components setup wizard asks users for passwords during upgrade and installation of new
2020404
components

This document is referenced by

SAP Note/KBA Title

2842870 Service Layer Does Not Use Updated SSL Certificate

2530520 SAP Business One SLD and Browser Access require a valid SSL certificate

2377166 Verify the Certificates During SSL Communication

1882731 Cannot Display Company List After Database User Password Is Changed

2046092 Overview Note for SAP Business One 9.0 PL13, version for SAP HANA

© 2021 SAP SE or an SAP affiliate company. All rights reserved 3 of 4


2021-06-18 2046101

Attachments

File Name File Size Mime Type

toolsHANA.zip 1264 application/x-zip-compressed

toolsMSSQL.zip 1271 application/x-zip-compressed

Terms of use | Copyright | Trademark | Legal Disclosure | Privacy

© 2021 SAP SE or an SAP affiliate company. All rights reserved 4 of 4

You might also like