Error with EC Domain Parameters After Cloning Configurations for a new company #232
-
I cloned the configuration of an existing setup (company3) to create a new setup (company0) in MVD, replicating properties, JSON files, and certificates. I can run company3, however, I'm encountering an error when starting the company0, despite both configurations being identical. The error message is:
Has anyone faced a similar issue or can offer guidance on resolving this EC key-related error? Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @zalborzi! If you generated the keys for That said, some more information regarding how your generate the keys, specifically EC parameters, curve, etc., how keys are imported into the JKS, info about your Java version, your operating system, etc. would be required. If I had to guess, I'd say this has to do with missing EC algorithm parameters in a DER-encoded PKCS#8 private key. The fact that it's a for reference: ECPrivateKeyImpl.java (the link is from JDK 8, but the code is the same in Java 21) |
Beta Was this translation helpful? Give feedback.
Hey @zalborzi!
without a full stack trace there is not much we can do.
If you generated the keys for
connector0
yourself, and imported them into the keystone, please be sure to read this section of the Readme carefully.That said, some more information regarding how your generate the keys, specifically EC parameters, curve, etc., how keys are imported into the JKS, info about your Java version, your operating system, etc. would be required.
If I had to guess, I'd say this has to do with missing EC algorithm parameters in a DER-encoded PKCS#8 private key. The fact that it's a
JOSEException
indicates that this happens when attempting to convert a locally stored key-pair into a JWK (JsonWebK…