• 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

client server certificate authentication

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can anybody help me in authentication using client server certificate in java.

For each user will have different client certificate.
I want to identify user based on his client certificate value.

The functionality which i am trying is.

I have created selfsigned server certificate. now for each user i want to create client certificate with some client id value to connect the server. User will connect with provided client certi and will be identified from client certi.

Thanks,
Bharat
 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you hope to achieve with a client-side cert?

They are, in general, a real pain in the rear to manage.

You can nearly always get the same security simply by storing a nonce in a cookie the first time the user signs in.
Store the nonce in a suitable DBMS table.

When the user signs in a second time, check the cookie value against the DBMS records.
 
Bharat Kasodariya
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The idea is to give certificate to each client and will communicate through given certificate.Certificate is used to authenticate the user.

I dont have much idea about nonce but In your case How will you authenticate user first time without nonce.

If cookie is disabled or cleared then how it will work.

Thanks,
Bharat
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic