- Liferay DXP does not start up after securing the connection to Elasticsearch and, more specifically, after generating the Elasticsearch certificate
keytoolin a JDK with a higher major version than the one in which Liferay DXP is running. For example: Liferay DXP is using JDK8 and you are generating Elasticsearch certs using JDK 11.
- The error shown is:
The activate method has thrown an exception
java.lang.RuntimeException: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
- Liferay DXP using JDK version 8
- PKCS#12 certificate (
.p12) generated with a JDK version greater than 8.
This is a JDK bug. You can do the following:
- A.) Use the same version of JDK in both Liferay and Elasticsearch servers
- B.) Use JKS format instead of PKCS12 for the Keystore
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.Sign In