Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zwe keytool error using Java 8 SR8 #3558

Open
MarkAckert opened this issue Aug 29, 2023 · 4 comments
Open

zwe keytool error using Java 8 SR8 #3558

MarkAckert opened this issue Aug 29, 2023 · 4 comments
Labels
bug Something isn't working CI/CD Tasks to improve CI/CD process, not related to install packaging install zwe

Comments

@MarkAckert
Copy link
Member

When running install and test automation using Java 8 SR8, we saw the below keytool error (information redacted).

Sign the CSR using the Certificate Authority "local_ca":

Calling keytool -gencert -v -infile /****/localhost.csr -outfile /****/localhost.signed.cer -keystore /****/local_ca.keystore.p12 -alias local_ca -keypass **** -storepass **** -storetype PKCS12 -ext SAN=dns:***,ip:***,dns:localhost.localdomain,dns:localhost,ip:127.0.0.1 -ext KeyUsage:critical=keyEncipherment,digitalSignature,nonRepudiation,dataEncipherment -ext ExtendedKeyUsage=clientAuth,serverAuth -rfc -validity 3650

  * keytool failed

  * Exit code: 1

  * Output:

    keytool error (likely untranslated): java.lang.IllegalArgumentException: java.util.Vector incompatible with [Ljava.lang.Object;

Error ZWEL0169E: Failed to create certificate "localhost".
@MarkAckert MarkAckert added zwe install CI/CD Tasks to improve CI/CD process, not related to install packaging bug Something isn't working labels Aug 29, 2023
@JoeNemo
Copy link
Contributor

JoeNemo commented Aug 30, 2023

Is this a new error or another aspect of the GSK vs. Java issues?

@1000TurquoisePogs for your attention, too.

@dkelosky
Copy link

dkelosky commented Sep 4, 2024

I experienced this issue as well. Upgrading to Java 17 got me beyond this error.

@balhar-jakub
Copy link
Member

Which means we should accept it for V3 as the Java 17 is anyway a pre-req

@dkelosky
Copy link

dkelosky commented Sep 6, 2024

the only problem is that I then ran into a different problem (#3977 ) with Java 17 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI/CD Tasks to improve CI/CD process, not related to install packaging install zwe
Projects
None yet
Development

No branches or pull requests

4 participants