SAP Knowledge Base Article - Preview

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

Symptom

For what ever reason you need to re-create the secstore.properties and secstore.key (corruption, deletion etc.). This KBA will show how to do it manually.

It is a PREREQUSITE that you know the original Keyphrase, so the new secstore will be compatible with property sheets stored in the DB, else some services will not start with error similar to:

"Internal error during the decryption process. Caused by: javax.crypto.Bad Padding Exception: Invalid PKCS#5 padding: not all padding bytes are equal!""

Always back up the current version of the Secstore.properties and Secstore.key


Read more...

Environment

SAP Netweaver 640 and 700

Product

SAP NetWeaver Application Server for Java all versions

Keywords

KBA , BC-JAS-SEC , Security, User Management , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.