Skip to Content
avatar image
Former Member

Problem during decryption of secstorefs

Hi!

I've made a homegenous system copy of a SAP PI 7.1 SP 7 system, but J2EE doesn't start. The SAPINST process went fine without any special errors.

I noticed that the problem is related with UME with the following error: "Start of UME Service Failed".

I wounder if any one of you know how to recreate the Secure Store?

In config tool I try to change the "Key Phase" but withou success.

How can I solve this issue?

Here's the error...

Caused by: com.sap.engine.frame.core.configuration.ConfigurationException: Internal error during the decryption process.

at com.sap.engine.core.configuration.impl.security.Crypter.decryptBytes(Crypter.java:179)

at com.sap.engine.core.configuration.impl.ValueEntry.initializeValue(ValueEntry.java:456)

at com.sap.engine.core.configuration.impl.ValueEntry.getValueInternal(ValueEntry.java:567)

at com.sap.engine.core.configuration.impl.ValueEntry.getValue(ValueEntry.java:556)

at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getConfigEntry(ReadAccessConfiguration.java:1075)

at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.<init>(PropertyEntryImpl.java:100)

at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.readPropertyEntry(PropertyEntryImpl.java:55)

at com.sap.engine.core.configuration.impl.addons.PropertySheetImpl.<init>(PropertySheetImpl.java:103)

at com.sap.engine.core.configuration.impl.ConfigurationImpl.getPropertySheetExtensionInterface(ConfigurationImpl.java:452)

at com.sap.engine.core.configuration.impl.ConfigurationImpl.getPropertySheetInterface(ConfigurationImpl.java:237)

at com.sap.engine.lib.config.impl.ConfigurationAccessor.getProperties(ConfigurationAccessor.java:542)

at com.sap.engine.lib.config.impl.ConfigurationAccessor.getProperties(ConfigurationAccessor.java:523)

at com.sap.engine.lib.config.impl.component.ComponentHandlerImpl.getServiceProperties(ComponentHandlerImpl.java:135)

... 14 more

Caused by: com.sap.security.core.server.secstorefs.InvalidStateException: Internal error during the decryption process.

at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:863)

at com.sap.security.core.server.secstorefs.SecStoreFS.decrypt(SecStoreFS.java:3525)

at com.sap.engine.core.configuration.impl.security.Crypter.decryptBytes(Crypter.java:177)

... 26 more

Caused by: javax.crypto.BadPaddingException: Invalid PKCS\#5 padding length: 91

at iaik.security.cipher.s.b(Unknown Source)

at iaik.security.cipher.w.a(Unknown Source)

at iaik.security.cipher.w.engineDoFinal(Unknown Source)

at javax.crypto.Cipher.doFinal(DashoA12275)

at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:838)

... 28 more

Edited by: Fernando Figueiredo on Apr 12, 2009 6:10 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 13, 2009 at 05:15 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2009 at 01:48 PM

    Source system didn't had encryption before upgrade SAP XI 3.0 to SAP PI 7.1 SP7. I've changed the encryption password on source system and made a new system copy via backup/restore.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Could you please try to reenter the password of the sapjsf user in the configtool ume configuration (or the user you have for the abap ume)?

      I have seen a related issue concerning the j2ee_admin user after a system copy. It is not exactly your case, but note [701654 - Deployment aborts due to wrong J2EE Engine login information|https://service.sap.com/sap/support/notes/701654] solved that one.

      Best regards, Michael

  • avatar image
    Former Member
    Feb 11, 2010 at 06:58 PM

    Hello,

    Can you please share how this problem was resolved?

    We are facing the same problem today with PI 7.1

    Regards,

    Siddhesh

    Add comment
    10|10000 characters needed characters exceeded