CircleCI's Java image doesn't support Server Name Indication (SNI)



I’m running a Java build with the CircleCI-provided OpenJDK image and it seems to fail dependency resolution against the Maven Central repository mirrors, which use Server Name Indication (SNI). Does the Java/Gradle included with CircleCI 2.0 not support SNI?

> Could not resolve all dependencies for configuration 'classpath'.
   > Could not resolve commons-codec:commons-codec:1.6.
     Required by:
      > Could not resolve commons-codec:commons-codec:1.6.
         > Could not get resource ''.
            > Could not HEAD ''.
               > Host name '' does not match the certificate subject provided by the peer (, O="Fastly, Inc.", L=San Francisco, ST=California, C=US)

This is using the circleci/openjdk:8-jdk base image.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.