labria’s ruby blog

random ruby/rails stuff

SSL client certificate login pt.2

2 comments

Well, I’ve made some progress at last. Now my test app lets you logon automatically if you happen to have a certificate whose name and email matches a user in the DB. Still, you have to have some certificate just to get to the site, but “a progress there is”.

Now I’ll try to figure out how to generate certificates for users (and the root cert too). The code is a mess, but it works, kinda.

UPD: wow! I just found http://segment7.net/projects/ruby/QuickCert/, it may save me 90% of the pain with the almost undocumented OpenSSL library!

Written by labria

February 23rd, 2008 at 1:15 pm

Posted in Uncategorized

2 Responses to 'SSL client certificate login pt.2'

Subscribe to comments with RSS or TrackBack to 'SSL client certificate login pt.2'.

  1. Having read this I believed it was very informative.
    I appreciate you taking the time and energy to put this short article together.
    I once again find myself personally spending way
    too much time both reading and commenting. But so what, it was still worthwhile!

    My homepage – where do bed bugs come

  2. Greetings! Very useful advice in this particular article!
    It is the little changes that will make the biggest changes.
    Thanks a lot for sharing!

    Review my web blog: clothing

    clothing

    30 Apr 13 at 10:15

Leave a Reply