You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/09/04 15:14:00 UTC

[jira] [Updated] (CAMEL-12772) camel-crypto-cms tests fail with OpenJDK

     [ https://issues.apache.org/jira/browse/CAMEL-12772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-12772:
--------------------------------
    Fix Version/s: 2.23.0

> camel-crypto-cms tests fail with OpenJDK
> ----------------------------------------
>
>                 Key: CAMEL-12772
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12772
>             Project: Camel
>          Issue Type: Test
>          Components: camel-crypto-cms
>            Reporter: Tadayoshi Sato
>            Priority: Major
>             Fix For: 2.23.0
>
>
> I am not certain if it's a test bug or expected behaviour but when I run {{mvn clean install}} in {{camel-crypto-cms}} with OpenJDK 8, the tests always fail. They pass when I run it with Oracle JDK.
> I found a similar issue with WildFly-Camel as well:
> https://github.com/wildfly-extras/wildfly-camel/issues/2245
> My JDK version:
> {code}
> $ java -version
> openjdk version "1.8.0_181"
> OpenJDK Runtime Environment (build 1.8.0_181-b13)
> OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
> {code}
> Test output:
> {code}
> [ERROR] Tests run: 15, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 1.38 s <<< FAILURE! - in org.apache.camel.component.crypto.cms.ComponentTest
> [ERROR] wrongOperation(org.apache.camel.component.crypto.cms.ComponentTest)  Time elapsed: 0.292 s  <<< ERROR!
> org.apache.camel.component.crypto.cms.exception.CryptoCmsException: Problem during generating the keystore
> Caused by: java.security.cert.CertificateParsingException: java.io.IOException: Unknown named curve: 1.3.132.0.37
> Caused by: java.io.IOException: Unknown named curve: 1.3.132.0.37
> [ERROR] execute(org.apache.camel.component.crypto.cms.ComponentTest)  Time elapsed: 0.04 s  <<< ERROR!
> org.apache.camel.component.crypto.cms.exception.CryptoCmsException: Problem during generating the keystore
> Caused by: java.security.cert.CertificateParsingException: java.io.IOException: Unknown named curve: 1.3.132.0.37
> Caused by: java.io.IOException: Unknown named curve: 1.3.132.0.37
> [ERROR] orignatorUnprotectedAttributes(org.apache.camel.component.crypto.cms.ComponentTest)  Time elapsed: 0.107 s  <<< ERROR!
> org.apache.camel.component.crypto.cms.exception.CryptoCmsException: Problem during generating the keystore
> Caused by: java.security.cert.CertificateParsingException: java.io.IOException: Unknown named curve: 1.3.132.0.37
> Caused by: java.io.IOException: Unknown named curve: 1.3.132.0.37
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)