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
SAP Netweaver 640 and 700
KBA , BC-JAS-SEC , Security, User Management , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.