[ 
https://issues.apache.org/jira/browse/JCLOUDS-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971096#comment-16971096
 ] 

Andrew Gaul commented on JCLOUDS-1523:
--------------------------------------

For some reason this only affects the redirect tests:

{noformat}
$ mvn integration-test -pl core 
-Dtest=JavaUrlHttpCommandExecutorServiceIntegrationTest
...
Failed tests:
  
JavaUrlHttpCommandExecutorServiceIntegrationTest>BaseHttpCommandExecutorServiceIntegrationTest.testPostRedirect:354
 » HttpResponse
  
JavaUrlHttpCommandExecutorServiceIntegrationTest>BaseHttpCommandExecutorServiceIntegrationTest.testGetStringRedirect:203
 » HttpResponse
  
JavaUrlHttpCommandExecutorServiceIntegrationTest>BaseHttpCommandExecutorServiceIntegrationTest.testPutRedirect:511
 » HttpResponse
{noformat}

> core integration tests fail due to invalid certificate
> ------------------------------------------------------
>
>                 Key: JCLOUDS-1523
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1523
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-core
>    Affects Versions: 2.2.0
>            Reporter: Andrew Gaul
>            Priority: Minor
>
> It seems that newer versions of Java reject 1024-bit keys:
> {noformat}
> testPutRedirect(org.jclouds.http.JavaUrlHttpCommandExecutorServiceIntegrationTest)
>  Time elapsed: 1.687 sec <<< FAILURE!
> org.jclouds.http.HttpResponseException: 
> java.security.cert.CertificateException: Certificates do not conform to 
> algorithm constraints connecting to PUT https://localhost:39461/ HTTP/1.1
> ...
> Caused by: javax.net.ssl.SSLHandshakeException: 
> java.security.cert.CertificateException: Certificates do not conform to 
> algorithm constraints
> ...
> Caused by: java.security.cert.CertificateException: Certificates do not 
> conform to algorithm constraints
> ...
> Caused by: java.security.cert.CertPathValidatorException: Algorithm 
> constraints check failed on keysize limits. RSA 1024bit key used with 
> certificate: CN=sherlock.  Usage was tls server  
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to