Actions
Bug #9924
openkeytool exception in change-ip.sh script
Status:
New
Priority:
None
Assignee:
-
Start date:
30/01/2023
Due date:
% Done:
0%
Estimated time:
Device Type:
Component:
Type:
Description
Description
change-ip.sh script is not running properly throwing error as below:
keytool error: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
Cause of this error is the below line. Support for this is removed from Java version lower than 8u301
keytool -importkeystore -srckeystore ./tmp/CKEYSTORE.p12 -srcstoretype PKCS12 -destkeystore ../repository/resources/security/wso2carbon.jks -deststorepass wso2carbon -srcstorepass wso2carbon -noprompt
Environment
Java versions lower than 1.8.301
Steps to reproduce
Run change-ip.sh script inside {IOT_HOME}/scripts
Actions