• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Secured Socket Layer (SSL) w/ Java

 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can someone explain to me how to create a SSL connection in java through a n-tier architecture. Possibly a list of java libraries which are used. I did Google this but almost all the sources are for web applications and not systems.

What I possibly thought of:

A key rotation. The client is given a set of keys. The server has a set of keys. Each client will have a different set of keys. This is called key rotation? I thought of using I/O streams for the keys. Each message will contain a random key from the client's set. The server will verify the key then accept the next client's request. I am unsure of how to do the certificates to possibly send the key and client request at the same time.

All help is appreciated
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Charles Sexton wrote:
A key rotation. The client is given a set of keys. The server has a set of keys. Each client will have a different set of keys. This is called key rotation? I thought of using I/O streams for the keys. Each message will contain a random key from the client's set. The server will verify the key then accept the next client's request. I am unsure of how to do the certificates to possibly send the key and client request at the same time.




First, SSL is a very specific solution. Your question seem to be more on how does the endpoints agree on a key to do encryption. Is this true? Or are you looking for exactly how SSL works? If the later, then it certainly doesn't do it as you mentioned.

Henry
 
Charles Sexton
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Henry,
Thank you for the reply. I would like to do a key rotation at the end point of the communication between a server and client. I am confused on how SSL works in java. I know that encryption is done with a key and a certificate but I am unsure on how to do the certificate or the SSL connection based on your response.
 
Charles Sexton
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSSE (Java Secure Socket Extension) is what I am looking for!!! This library is java's version of SSL and TSL protocol. Question is how do the keys work to add a key rotation?


https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic