You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by GitBox <gi...@apache.org> on 2020/04/30 15:40:11 UTC

[GitHub] [jclouds] gaul commented on pull request #71: JCLOUDS-1545: Upgrade to OkHttp 2.7.5

gaul commented on pull request #71:
URL: https://github.com/apache/jclouds/pull/71#issuecomment-621933539


   @nacx I tried untangling the 1024-bit SSL certificate error and went down this OkHttp upgrade rabbit hole.  This looks promising but I encountered a strange error:
   
   ```
   setupSSL(org.jclouds.docker.features.ContainerApiMockTest)  Time elapsed: 0.154 sec  <<< FAILURE!
   java.lang.VerifyError: Bad type on operand stack
   Exception Details:
     Location:
       com/squareup/okhttp/internal/HeldCertificate$Builder.build()Lcom/squareup/okhttp/internal/HeldCertificate; @237: invokevirtual
     Reason:
       Type 'org/bouncycastle/asn1/ASN1ObjectIdentifier' (current frame, stack[1]) is not assignable to 'org/bouncycastle/asn1/DERObjectIdentifier'
     Current Frame:
       bci: @237
       flags: { }
       locals: { 'com/squareup/okhttp/internal/HeldCertificate$Builder', 'java/security/KeyPair', 'javax/security/auth/x500/X500Principal', 'java/security/KeyPair', 'javax/security/auth/x500/X500Principal', long, long_2nd, 'org/bouncycastle/x509/X509V3CertificateGenerator' }
       stack: { 'org/bouncycastle/x509/X509V3CertificateGenerator', 'org/bouncycastle/asn1/ASN1ObjectIdentifier', integer, 'org/bouncycastle/asn1/x509/BasicConstraints' }
   ```
   
   Perhaps an incompatibility with bouncycastle?  Any other ideas?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org