cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris 6.5 License Installation errors

manish_sethi
Participant
0 Kudos

Hi, I have successfully generated a License key using SAP License key portal for SAP Hybris Commerce 6.5.2 for HSQLDB/Development System. However the same is not getting installed using the license tool. The error is as shown below :

"license.bat -install CPS_65.txt Error during signature verification: java.lang.NoSuchMethodError: sun.security.util.ObjectIdentifier.equals(Lsun/security/util/ObjectIdentifier Z at com.sap.security.core.server.likey.P7Verifier.verify(P7Verifier.java:84) at com.sap.security.core.server.likey.LicenseKey.checkSignature(LicenseKey.java:46 5) at com.sap.security.core.server.likey.Admin.checkAndInsertKey(Admin.java:2125) at com.sap.security.core.server.likey.Admin.installFromFile(Admin.java:1914) at com.sap.security.core.server.likey.Admin.installFromFile(Admin.java:2009) at de.hybris.platform.licence.sap.HybrisAdmin.installLicenseFromFile(HybrisAdmin.j ava:233) at de.hybris.platform.licence.sap.HybrisAdmin.main(HybrisAdmin.java:84) The digital signature of the license key for product "CPS_SQL" could not be verified. License key file CPS_65.txt doesn't contain any valid SAP license keys. License key(s) not completely installed."

Can someone please help with the issue.

Regards, Manish

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos
manish_sethi
Participant
0 Kudos

Hi Patrick,

This Velocity Jar fix didn't helped as the error is not related to loading of Velocity jars. I made the following changes but still the error remains the same : SET VELOCITY_JAR="%CORE_LIB%/velocity-1.7.jar" COMMONSCOLLECTIONS_JAR="$CORE_LIB/commons-collections-3.2.2.jar"

java.exe -classpath "%classpath%";"%LIKEY_LIB%";"%IO_UTILS_LIB%";"%COMMONS_LANG_LIB%";"%LOG_4J_LIB%";"%GUAVA_LIB%";"%SPRING_LIB%";"%CORE_SERVER%";"%CORE_CLASSES%";"%BOOTSTRAP_JAR%";"%BOOTSTRAP_CLASSES%";"%CORE_RESOURCES%";"%VELOCITY_JAR%"^ Please share if there was something I missed from the post.

Manish

Former Member
0 Kudos

There is an error in your script $ is not working for windows 😉

$CORE_LIB/commons-collections-3.2.2.jar

Correct .bat changes:

SET VELOCITY_JAR=%CORE_LIB%/velocity-1.7.jar

SET COMMONSCOLLECTIONS_JAR=%CORE_LIB%/commons-collections-3.2.2.jar

java.exe -classpath "%classpath%";"%LIKEY_LIB%";"%IO_UTILS_LIB%";"%COMMONS_LANG_LIB%";"%LOG_4J_LIB%";"%GUAVA_LIB%";"%SPRING_LIB%";"%CORE_SERVER%";"%CORE_CLASSES%";"%BOOTSTRAP_JAR%";"%BOOTSTRAP_CLASSES%";"%CORE_RESOURCES%";"%VELOCITY_JAR%";"%COMMONSCOLLECTIONS_JAR%"^ -Dpcd.home=%BASE_DIR% de.hybris.platform.licence.sap.HybrisAdmin %1 %2 %3 %4

Former Member
0 Kudos

Correct .sh changes:

VELOCITY_JAR="$CORE_LIB/velocity-1.7.jar"

COMMONSCOLLECTIONS_JAR="$CORE_LIB/commons-collections-3.2.2.jar"

java -classpath ${LIKEY_LIB}:${IO_UTILS_LIB}:${COMMONS_LANG_LIB}:${SPRING_LIB}:${LOG_4J_LIB}:${GUAVA_LIB}:${CORE_SERVER}:${CORE_CLASSES}:${BOOTSTRAP_JAR}:${BOOTSTRAP_CLASSES}:${CORE_RESOURCES}:${VELOCITY_JAR}:${COMMONSCOLLECTIONS_JAR} \ de.hybris.platform.licence.sap.HybrisAdmin $1 $2 $3 $4

manish_sethi
Participant
0 Kudos

Hi Patrick, I think I copied it wrongly in the post as I had done the changes for Windows only but the issue still remains. Do you think there could be any other reason behind the issue or any more steps are required apart from these changes. The final changes were : SET VELOCITY_JAR=%CORE_LIB%/velocity-1.7.jar SET COMMONSCOLLECTIONS_JAR=%CORE_LIB%/commons-collections-3.2.2.jar java.exe -classpath "%classpath%";..........;"%CORE_RESOURCES%";"%VELOCITY_JAR%";"%COMMONSCOLLECTIONS_JAR%"^

Regards, Manish

Former Member
0 Kudos

No.. this changes worked fine for me I'm currently using hybris 6.6.

Maybe your license file is broken..

The digital signature of the license key for product "CPS_SQL" could not be verified. License key file CPS_65.txt doesn't contain any valid SAP license keys. License key(s) not completely installed.