Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sample cod e SSL based  application

Posted on 2011-09-29
8
Medium Priority
?
263 Views
Last Modified: 2012-05-12
Hi guys,

This is an extension to  a previous question I have asked before.

I'm looking for a sample java client server SSL application using a shared key and basically from the client side :

The user enter the password , ip address and port number and connects securely to the server (SSLServerSocket).

In addition I want to do things asynchronously

Any sample code or links will be very helpful
0
Comment
Question by:bachra04
  • 4
  • 4
8 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 36818347
'shared key'?
0
 
LVL 2

Author Comment

by:bachra04
ID: 36818357
i.e. symmetric key and not public key ( with certificate)...
0
 
LVL 2

Author Comment

by:bachra04
ID: 36818378
If it is very complex or hard to find I will go for  solution with public key but is easy to use and implement
0
New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

 
LVL 86

Expert Comment

by:CEHJ
ID: 36818435
Symmetric keys are generated automatically and on the fly in SSL - that's how it works. You're describing something that's not SSL i think
0
 
LVL 2

Author Comment

by:bachra04
ID: 36818467
no I'm talking about SSL , I worked before on Secure RTP using C and OpenSSL both sender and receivers needs to exchange secret key and then establish a secure link.
In this cas e I don't need to exchange the key I assume the client application will know the server password that will be used to generate the key.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 36818489
I'm not aware of any way in which the operation of the SSL protocol can be changed in Java
0
 
LVL 2

Author Comment

by:bachra04
ID: 36818563
OK then please forget about symmetric key  for now I'm looking really for a good step by step way to build the application . I saw there are some manuel steps like in the folollowing link:
http://www.exampledepot.com/egs/javax.net.ssl/Server.html
Is it possible to do them programmatically during installation ?

also Is it possible to give more clarification about self signed certificate and keyStore ?

Thank
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 36818596
You might find the following recent discussion of interest

http:Q_27343037.html
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Imagine a situation that you have installed SSL (http://en.wikipedia.org/wiki/Secure_Sockets_Layer) Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question