(SBT) - SSLPeerUnverifiedException: peer not authenticated

I am taking a coursera class on scala taught by Martin Odersky and came across the an

when I tried to submit my assignment.

 

(SBT) - SSLPeerUnverifiedException: peer not authenticated

 

My java version is:

openjdk version "1.7.0-ea"
OpenJDK Runtime Environment (build 1.7.0-ea-b223)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

 

 

 

This is a prerelease version for Java 7's JDK. I decided to install an actual released version to see if this would solve my problem but the installer would only work on OS X Lion.

 

I have snow leopard still (Bummer!!).

So, I reverted to a JDK 6 version on my OS and retried it.

 

java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-10M3811)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)

 

 

It worked. Hope someone finds this helpful.