[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585220#comment-16585220
 ] 

Stefan Seelmann commented on DIRSTUDIO-1179:
--------------------------------------------

To use an existing keystore with the new Studio version a manual step is 
required to convert the keystore from JCEKS to PKCS12 format:

{code}
cd 
~/.ApacheDirectoryStudio/data/.metadata/.plugins/org.apache.directory.studio.connection.core
keytool -importkeystore -srckeystore passwords.jks -srcstoretype jceks 
-destkeystore passwords.jks -deststoretype pkcs12
{code}

Note: you need to use keytool from one of the following JDKs:
* Java 8 older than update 151
* OpenJDK 9, 10, 11

(yes, it's odd, but conversion from JCEKS to PKCS12 works with Java 9/10/11, 
but not with Java 8 151 and newer)

> java.io.IOException: Invalid secret key format after Java update
> ----------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1179
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1179
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-apacheds-configuration
>    Affects Versions: 2.0.0-M13
>         Environment: OS: Ubuntu 16.04
> Java: 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11
>            Reporter: Vitalij Osypenko
>            Assignee: Stefan Seelmann
>            Priority: Blocker
>             Fix For: 2.0.0-M14
>
>
> It is not possible to open connections password storage after a Java update. 
> Entering the master password fails with java.io.IOException: Invalid secret 
> key format. I guess it is related to this issue: 
> [https://community.oracle.com/thread/4109117]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to