Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16958 Camel and JDK17
  3. CAMEL-16959

tests in camel-crypto failed with JDK17

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.12.0
    • camel-crypto
    • None
    • Unknown

    Description

      we can see from the log

      java.security.SignatureException: java.security.InvalidAlgorithmParameterException: Legacy SunEC curve disabled:  sect409r1 [NIST B-409] (1.3.132.0.37)
              at sun.security.ec.ECDSASignature.engineSign(ECDSASignature.java:472) ~[jdk.crypto.ec:?]
              at java.security.Signature$Delegate.engineSign(Signature.java:1424) ~[?:?]
              at java.security.Signature.sign(Signature.java:713) ~[?:?]
              at org.apache.camel.component.crypto.processor.SigningProcessor.process(SigningProcessor.java:42) ~[classes/:?]
              at org.apache.camel.component.crypto.DigitalSignatureProducer.process(DigitalSignatureProducer.java:37) ~[classes/:?]
              at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66) ~[camel-support-3.12.0-SNAPSHOT.jar:3.12.0-SNAPSHOT]
              at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:172) ~[camel-core-processor-3.12.0-SNAPSHOT.jar:3.12.0-SNAPSHOT]
              at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:469) ~[camel-core-processor-3.12.0-SNAPSHOT.jar:3.12.0-SNAPSHOT]
      
      

      this error actually exists since JDK16, and I believe this is caused by the JDK change(Remove the legacy elliptic curves) tracked by
      https://bugs.openjdk.java.net/browse/JDK-8251547

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: