Solved

Sample cod e SSL based  application

Posted on 2011-09-29
8
247 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 500 total points
ID: 36818596
You might find the following recent discussion of interest

http:Q_27343037.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why doesn't this text field show up on my Applet frame? 2 27
Selenium docs api java index 3 64
Eclipse with various Java releases 7 43
What browser will run Java? 7 122
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn different types of Android Layout and some basics of an Android App.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

713 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