Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1459

OkHttp tests fail on Fedora 29

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.1
    • None
    • jclouds-drivers

    Description

      Several tests fail in mvn test -pl :jclouds-okhttp with these errors:

      testPutRedirect(org.jclouds.http.okhttp.OkHttpCommandExecutorServiceTest)  Time elapsed: 1.206 sec  <<< FAILURE!
      org.jclouds.http.HttpResponseException: java.security.cert.CertificateException: Certificates do not conform to algorithm constraints connecting to PUT https://localhost:60175/ HTTP/1.1
      

      It looks like OkHttp configures with 1024-bit RSA which Fedora has prohibited:

      https://android.googlesource.com/platform/external/okhttp/+/5f7fde35d881e7e9f8850daeac4de52265635656/src/test/java/com/squareup/okhttp/internal/SslContextBuilder.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaul Andrew Gaul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: