← Back to team overview

openjdk team mailing list archive

[Bug 1958880] Re: keytool error: java.io.IOException: keystore password was incorrect

 

I think store passwords have a minimum of 8 chars, hence the default
password is “changeit”.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1958880

Title:
  keytool error: java.io.IOException: keystore password was incorrect

Status in openjdk-8 package in Ubuntu:
  New

Bug description:
  I've trying the following commands (passwords are fake) to convert
  lets encrypt certs for tp-link omada.

  openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -name eap -out keystore.p12 -password pass:myeapc
  keytool -storetype jks -importkeystore -destkeypass tplink -deststorepass tplink -destkeystore eap.keystore -srckeystore keystore.p12 -srcstoretype PKCS12 -srcstorepass myeapc

  This works on focal, but on jammy I get keytool error:
  java.io.IOException: keystore password was incorrect

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: openjdk-8-jre-headless 8u312-b07-0ubuntu1
  ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
  Uname: Linux 5.13.0-19-generic x86_64
  ApportVersion: 2.20.11-0ubuntu74
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Mon Jan 24 14:29:12 2022
  InstallationDate: Installed on 2022-01-03 (20 days ago)
  InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20211029)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: openjdk-8
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1958880/+subscriptions



References