Project

General

Profile

Actions

Bug #9924

open

keytool exception in change-ip.sh script

Added by Kavin Prathaban over 1 year ago. Updated 9 months ago.

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 #1

Updated by Viranga Gunarathna over 1 year ago

  • Project changed from 28 to product-uem 5.3.0 GA
Actions #2

Updated by Viranga Gunarathna over 1 year ago

  • Project changed from product-uem 5.3.0 GA to 32
Actions #3

Updated by Viranga Gunarathna over 1 year ago

  • Project changed from 32 to 33
Actions #4

Updated by Viranga Gunarathna 9 months ago

  • Project changed from 33 to Backlog
Actions

Also available in: Atom PDF