SAP Knowledge Base Article - Preview

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


For what ever reason you need to re-create the 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 and Secstore.key



SAP Netweaver 640 and 700


SAP NetWeaver Application Server for Java all versions


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.