Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

SSL/Client-cert

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
I am attempting to set up client-cert for a webapp. I have successfully set up a .keystore directory for Tomcat to present the client with a certificate, but am now wanting the request a certificate FROM the client for authorization.
I have Tomcat setup for ssl. Now to request a client certificate, I've changed the value in the server.xml file for clientAuth to true. I believe the next step is to generate new keys and specify the keystore path. My confusion is when I did the server side, I created a .keystore folder One of the books (O'Rielly's "Tomcat") seems to jump into unix or openssl at this point and tells me to create a directory then generate the key (command line #mkdir -p -m go=/path and the next command #openssl req -new -newkey rsa:512 -node -out /path...)
I'm not using openssl or unix or ? How have I missed the boat on this one?
Tomcat will be running on a windows 2k box. How does the new keystore referred to in the O'Rielly book fit in with the .keystore generated when I set up SSL?
I'm quite confused and would really appreciate some guidance.
 
Sheriff
Posts: 67634
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since this seem fairly Tomcat-focused, I'm moving it along to the Tomcat forum.
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic