Reset SAPSR3DB Password Failed using SAP brtools - Manual Way updating SecStore

 Refer to SAP note 1592575 - Recreating Secstore.properties and secstore.key for 7.00/7.01/7.02 J2EE Netweaver systems

Download the attachments.


BEWARE: THE POWERPOINT CONTAINS INCORRECT SYNTAX.

BEWARE: THE LAST COMMAND IN THE TXT FILE HAS A TYPO.


the steps in that note might not directly rrelfectted here. but these steps are valid.


Exmaple of executions as below:


# java -classpath tc_sec_secstorefs.jar:exception.jar:iaik_jce.jar:logging.jar com.sap.security.core.server.secstorefs.SecStoreFS create -s ECD -f Sec.properties -k sec.key -enc -p Password1

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG


Store with encryption and a key phrase created.

# java -classpath tc_sec_secstorefs.jar:exception.jar:iaik_jce.jar:logging.jar com.sap.security.core.server.secstorefs.SecStoreFS insert -s ECD -f Sec.properties -k sec.key admin/user/ECD SAPSR3DB

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG


Key/value pair inserted.

# java -classpath tc_sec_secstorefs.jar:exception.jar:iaik_jce.jar:logging.jar com.sap.security.core.server.secstorefs.SecStoreFS insert -s ECD -f Sec.properties -k sec.key admin/password/ECD Password1

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG


Key/value pair inserted.

# java -classpath tc_sec_secstorefs.jar:exception.jar:iaik_jce.jar:logging.jar com.sap.security.core.server.secstorefs.SecStoreFS insert -s ECD -f Sec.properties -k sec.key admin/port/ECD 1527

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG


Key/value pair inserted.

# java -classpath tc_sec_secstorefs.jar:exception.jar:iaik_jce.jar:logging.jar com.sap.security.core.server.secstorefs.SecStoreFS insert -s ECD -f Sec.properties -k sec.key admin/host/ECD NodeECD01

SAP Secure Store in the File System - Copyright (c) 2003 SAP AG


Key/value pair inserted.

# java -classpath tc_sec_secstorefs.jar:exception.jar:iaik_jce.jar:logging.jar:opensqlsta.jar:jdbc20.jar com.sap.sql.connect.OpenSQLConnectInfo create_dr jdbc/pool/ECD oracle.jdbc.pool.OracleConnectionPoolDataSource jdbc:oracle:thin:@NodeECD01:1527:ECD SAPSR3DB Password1 ECD Sec.properties sec.key

Driver successfully created

#

Once created, you can replace original SecStore witn the newly created keyt and properties file.

Make sure chmod 600.


//alak


Comments

Popular posts from this blog

Quick Dirty Script for Checking Oracle Data Gurad Gap and Emailing it

SAP SWPM Software Provision Manager SL Toolset 1.0 SP22 Startup Options

SAP SystemCopy - Activation of TCI Notes, DigiSIgn Gone Wrong