SSLKeyException: RSA premaster secret error

1,359 views
Skip to first unread message

Yoda

unread,
Jan 31, 2011, 5:38:19 PM1/31/11
to Google App Engine
I'm trying to deploy my app but am getting an ssl based error

Creating staging directory
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
javax.net.ssl.SSLKeyException: RSA premaster secret error

Unable to update:
javax.net.ssl.SSLKeyException: RSA premaster secret error
at com.sun.net.ssl.internal.ssl.RSAClientKeyExchange.<init>(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown
Source)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown
Source)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown
Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown
Source)
at
com.google.appengine.tools.admin.ServerConnection.connect(ServerConnection.java:
337)
at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
133)
at
com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
82)
at
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
582)
at
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:
400)
at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
112)
at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
56)
at
com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
271)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
146)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.security.NoSuchAlgorithmException:
SunTlsRsaPremasterSecret KeyGenerator not available
at javax.crypto.KeyGenerator.<init>(DashoA13*..)
at javax.crypto.KeyGenerator.getInstance(DashoA13*..)
at com.sun.net.ssl.internal.ssl.JsseJce.getKeyGenerator(Unknown
Source)
... 24 more

I've downloaded JCE but this has not fixed the issue. (i'm using win
xp)

Any help would be greatly appreciated. thanks :)

Yoda

unread,
Feb 3, 2011, 1:30:10 PM2/3/11
to Google App Engine
no suggestions on this ?

my code is all working and ready to run i just can't deploy !

Stephen Johnson

unread,
Feb 3, 2011, 1:42:45 PM2/3/11
to google-a...@googlegroups.com
Is your time correct? I've had issues with the SSL part of the update when my time has been wrong.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.


Yoda

unread,
Feb 5, 2011, 4:18:02 AM2/5/11
to Google App Engine
i've fixed this now !

got a bit drastic and uninstalled my entire java installation,
settings and eclipse

re-installed and it worked fine. i think it may have been confused by
having two
java runtime environments. the original jre from before i installed
the jdk and the
one in the jdk. i now have jdk only.



On Feb 3, 6:42 pm, Stephen Johnson <onepagewo...@gmail.com> wrote:
> Is your time correct? I've had issues with the SSL part of the update when
> my time has been wrong.
>
> > google-appengi...@googlegroups.com<google-appengine%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages