Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTPS outpustream  RSS feed

 
Srinivas Polsani
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting the following error when i'm trying to write data through outputstream using following code
SSLSocketFactory sslFact = (SSLSocketFactory)SSLSocketFactory.getDefault();
SSLSocket ssl = (SSLSocket)sslFact.createSocket("dubnium.cobaltgroup.com",0);
OutputStream httpout=ssl.getOutputStream();
ERROR BELOW---------------------
WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
Copyright (C) 2000 WebGain, Inc.
java.net.SocketException: SSL implementation not available
at javax.net.ssl.DefaultSSLSocketFactory.createSocket([DashoPro-V1.2-120
198])
at test.URLtest.newMethod(URLtest.java:51)
at test.URLtest.main(URLtest.java:21)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!