cancel
Showing results for 
Search instead for 
Did you mean: 

SAPINST create secure store error

former_member296886
Discoverer
0 Kudos

Hi Fellow Forumites

I am installing Solman 7.1 on IM_LINUX_X86_64 as a central instance, whlist running SapInst wizard on the execute phase step 4 - create secure store I am getting the following error in the log file(SecureStoreCreate.log)

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

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.ExceptionInInitializerError

at java.lang.J9VMInternals.initialize(J9VMInternals.java:218)

at javax.crypto.Cipher.a(Unknown Source)

at javax.crypto.Cipher.getInstance(Unknown Source)

at iaik.security.provider.IAIK.a(Unknown Source)

at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)

at com.sap.security.core.server.secstorefs.Crypt.<clinit>(Crypt.java:82)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)

at com.sap.security.core.server.secstorefs.SecStoreFS.setSID(SecStoreFS.java:158)

at com.sap.security.core.server.secstorefs.SecStoreFS.handleCreate(SecStoreFS.java:804)

at com.sap.security.core.server.secstorefs.SecStoreFS.main(SecStoreFS.java:1274)

... 6 more

Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs

at javax.crypto.b.<clinit>(Unknown Source)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)

... 17 more

Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!

at javax.crypto.b.a(Unknown Source)

at javax.crypto.b.a(Unknown Source)

at javax.crypto.b.access$600(Unknown Source)

at javax.crypto.b$0.run(Unknown Source)

at java.security.AccessController.doPrivileged(AccessController.java:246)

... 20 more

to try and resolve this error I replaced the JCE policy jar file in the <java-home>/lib/security with the unlimited strength versions and restarted the installation, this has however not resolved the error.

Is the JDK supposed to be installed for this step to execute.

Warm Regards

Accepted Solutions (0)

Answers (4)

Answers (4)

rupali_karbhari3
Active Contributor
0 Kudos

Hi ,

Please check if below envirnment variable is set correctly before starting SAPINST

SAPINST_JRE_HOME

JAVA_HOME

Also as above suggested , get correct version of Java installed on server where you are trying to install SAP instance.

Best Regards,

Rupali

vincentlim826
Employee
Employee
0 Kudos

Probably policy files are corrupted.

try reinstall the JDK and download the JCE (SAP Note 1240081).

Maybe check your java first, as per SAP note 1172419. Do you have many different JDKs versions installed ? Preferably one is good, and delete the older version.

Also check whether the right Full Strength Jurisdiction Policies are used (Note 739043).

Regards,

Vincent

blanca_serrano
Advisor
Advisor
0 Kudos

Hello Nelson,

Also it would be useful to follow SAP note 739043 in order to check for Full Strength Jurisdiction Policies.

Kind regards,

Blanca

Former Member
0 Kudos

Hello,

JCE policy file should be for correct environment and java jdk should be installed before installation.

Thanks