Garmin Connect IQ SDK keystore signing incompatibility

I'm getting a keystore parsing error when trying to sign watch faces with monkeyc. The error DerInputStream.getLength(): lengthTag=109, too big appears even with JKS keystores created on Java 11. Is there a known fix for this, or specific Java/SDK versions known to work together on macOS?

  • SDK versions: 9.2.0 and 9.1.0
  • Java versions tested: 11, 17, 21, 26
  • Error: java.security.InvalidKeyException: DerInputStream.getLength(): lengthTag=109, too big
  • Keystore formats tried: JKS, PKCS12
  • Both keystores created with Java 11 and newer versions
  • Issue occurs with monkeyc compiler on macOS