Re: importing a pkcs12 client certificate over http

2007-02-12 Thread Nic James Ferrier
Nic James Ferrier <[EMAIL PROTECTED]> writes: > But I don't seem to be able to use importUserCertificate to import the > base64 encoded version of the certificate as you imply: > > > > > //<!-- > var nickname = "openidcert"; > va

Re: importing a pkcs12 client certificate over http

2007-02-12 Thread Nic James Ferrier
Bob Relyea <[EMAIL PROTECTED]> writes: > Or find a CRMF toolkit. Limits my options rather. A quick search reveals only the java one. At the moment my code is in python and I can't find any CMMF for python. I am considering rewriting in java (yawn). > Once you have the key in the client, then x

Re: importing a pkcs12 client certificate over http

2007-02-11 Thread Nic James Ferrier
Bob Relyea <[EMAIL PROTECTED]> writes: > You can do the one shot by having mozilla generate the key with the > java-script crmf interface. > (http://developer.mozilla.org/en/docs/JavaScript_crypto#Generating_Keys_and_issuing_User_Certificates) The example on this page is badly broken. I fixed it

importing a pkcs12 client certificate over http

2007-02-09 Thread Nic James Ferrier
I'm trying to do one shot key registration and import. The idea is that people enter some data in an HTML form, press submit, server side code recieves the form, generates a private key and a certificate, generates pkcs12 and sends it back to the user, causing the user to recieve a certificate whi