When Nexus is running with OpenJDK 1.8.0_25 a proxy of https://repo1.maven.org/maven2/ fails to work. The exception thrown is:
2015-01-23 09:38:24,113-0600 WARN [proxy-3-thread-1] anonymous org.sonatype.nexus.proxy.maven.maven2.M2Repository - Remote peer of proxy repository "Central" [id=central] threw a org.sonatype.nexus.proxy.RemoteStorageException exception. Connection/transport problems occured while connecting to remote peer of the repository. Auto-blocking this repository to prevent further connection-leaks and known-to-fail outbound connections until administrator fixes the problems, or Nexus detects remote repository as healthy. - Cause(s): Transport error while executing GET method [repositoryId="central", requestPath="/", remoteUrl="https://repo1.maven.org/maven2/"] > java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available > java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available > EC AlgorithmParameters not available
This is because OpenJDK does not ship with Elliptic Curve Cryptography.
1) Use Oracle Java
2) Use the http URL for central: http://repo1.maven.org/maven2/
3) Install ECC into OpenJDK
The last option requires copying both sunec.jar and either libsunec.so or sunec.dll from an Oracle Java into the appropriate spot in OpenJDK:
Obviously this last workaround is untested, and I can't recommend it.