Solved

Sample cod e SSL based  application

Posted on 2011-09-29
8
240 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
 
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now