• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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: 4804
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
 
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic